Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Robert Koberg <rob@------.--->
To: "Roger L. Costello" <costello@-----.--->
Date: 2/1/2005 2:52:00 PM
Roger L. Costello wrote:
> 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?  

Yes, but again this situation is quite simple. If all you needed to do 
was move pickers to different lots. So pickers can be assigned to 
different lots. What if you want to track their time spent on the lots:

<lot id="1">
   <picker ref="John">
     <timecard start="2005-01-29T12:00:00" end="2005-01-29T13:00:00"/>
   </picker>
</lot>
<lot id="2">
   <picker ref="John">
     <timecard start="2005-01-29T13:00:15" end="2005-01-29T14:00:00"/>
   </picker>
</lot>

> 
> Simply locate:
> 
>     Assignment/@picker="John"
> 
> And then change:
> 
>     @lot
> 
> But this is getting off the topic: what is coupling?  /Roger

Seems to be exactly about coupling, doesn't it? Maybe I should read more 
definitions...

best,
-Rob


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent