[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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


Re:  What is coupling?  [Was: 3 XML Design Principles]
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.