Re: [xsl] Re: RE: Re: XPath riddle

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