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

RE: xpath question

Subject: RE: xpath question
From: florian <csshsh@xxxxxxxxxxxxxxx>
Date: 28 Mar 2003 15:06:20 +0100
bryan archer
hi!

> A very strange structure if you don't mind me saying!

i know.. its not really clear yet if im able to change it though : /

> If you assume that the description nodes are in the same order as the equivalent column nodes
> (which in your example is not the case!!) :

thats the point. the description nodes are just in the same order as
in the group nodes. since they relate together. the first child node in
a group  node would be an apple for example, so the first child node
in the descriptions node, would have to be the description node for
the apple.



> It is not obvious in your example how the description elements relate to the column
> elements other than the fact they have the same fruit...!?!
> 
> A far better structure might be:
> <root>
>  ..
>   <order>
>      <column name="orange" description="this is an orange"/>
>      <column name="apple"  description="this is an apple"/>
>    </order>
>  ..
> </root>

that would be for sure the most simple solution. the problem is though
that the description nodes and the order nodes are in real-life coming
from two different xml documents. so i would have to kinda pack them
together with xslt first, which would make things also kinda akward. : /


ciao!
florian



 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.