RE: [xml-dev] What is coupling? [Was: 3 XML Design Principles]

From
Roger L. Costello <>
To
'XML Developers List' <>
Date
2005-02-01T14:39:30Z
ID
<>
Thread
RE: [xml-dev] What is coupling? [Was: 3 XML Design Principles]
Hey Robert, 

>> <Lot id="1">
>>       .
>> </Lot>
>> <Picker id="John">
>>       .
>> </Picker>
>> <Assignment picker="John" lot="1"/>

>I would hate to have transform this... 

Suppose that the purpose of your transformation was to move Picker John onto
another Lot. (For example, a stylesheet that models the movement of Pickers
on a Vineyard)  Wouldn't this form support such a "movement transformation"
beautifully?  

Simply locate:

    Assignment/@picker="John"

And then change:

    @lot

But this is getting off the topic: what is coupling?  /Roger