|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: RE: Re: XPath riddle
Nikolas, In terms of XML Schema and XSLT would a use case be useful? <xsd:schema xmlns:xsd="http://www.we.org/2001/XMLSChema"> <xsd:element name="list" type="xsd:string"/> <xsd:complexType name="list"> <xsd:element ref="list" maxOccurs="unbounded"/> </xsd:complexType> </xsd:schema> Given such a schema, the case of lists within lists within lists is possible. If I understand correctly, you are looking for an XSLT way of picking out a specific node for any and all possible source trees [note that XSLT deals with _nodes_]. You want the first node, the last node, the nth node from the last? The first, last, or nth sibling of a node? The nth descendant or ancestor? The specificity of the selection or match you are seeking to achieve with XSLT depends upon the target tree you are seeking to construct. Francois Lachance XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








