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)

In terms of XML Schema and XSLT would a use case be useful?

<xsd:schema xmlns:xsd="";>
<xsd:element name="list" type="xsd:string"/>
<xsd:complexType name="list">
<xsd:element ref="list" maxOccurs="unbounded"/>

Given such a schema, the case of lists within lists within lists is

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:

Current Thread