Re: [xsl] Transitive closure for XPath

Subject: Re: [xsl] Transitive closure for XPath
From: "Christian Nentwich" <c.nentwich@xxxxxxxxxxxx>
Date: Thu, 19 Apr 2001 22:17:07 +0100
> >         closure(/closure/node[1], key("myKey", @child))
> >
> or, even more interesting, could you do this?
>
>          closure(/, document(/xsd:schema/xsd:include/@schemaLocation))

Should work. Selects a new document on every step and returns you a nodeset
full of document nodes.

Christian



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread