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

RE: Matching elements with a name specified by an attribute

Subject: RE: Matching elements with a name specified by an attribute value
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 23 Oct 2000 10:20:15 +0100
kay benoit
> 
> You say that what I'm trying to do is bad document design. 
> ... Essentially, the names of the data elements do identify 
> types, and are all different...
> 
> <layout layout-id="block1">
>   <layout_item data_element="reference"/>
>   <layout_item data_element="trade_date"/>
>   <layout_item data_element="ccy"/>
>   <layout_item data_element="amount"/>
> </layout>
> 
> <trade layout-ref="block1">
>   <reference>12345</reference>
>   <trade_date>23-Oct-2000</trade_date>
>   <ccy>GBP</ccy>
>   <amount>1,500.00</amount>
> </trade>
> 
Yes, that looks more sanitary. Be aware though that such structures (which
contain implicit links between data objects and metadata objects) are not
well-supported by standards such as XML namespaces or XSLT itself.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.