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

Re: Re: RE: Re: XPath riddle

Subject: Re: Re: RE: Re: XPath riddle
From: lachance@xxxxxxxxxxxxxxxxx (Francois Lachance)
Date: Thu, 5 Jul 2001 09:18:37 -0400 (EDT)
xpath nth node
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


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.