|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:apply-keys for XT (was: an implementation of xsl:key for
I now added an implementation of xsl:apply-keys with the following
semantics: if there are n (top-level) xsl:apply-keys declarations in
the stylesheet:
<xsl:apply-keys select=E1/>
...
<xsl:apply-keys select=En/>
then the set of roots from which indexing (i.e. the creation of key
entries) proceeds is:
/|E1|...|En
In a typical application you might have:
<xsl:apply-keys select="document('author.xml')"/>
This does not seem to afford quite as much expressivity as one might
like: all documents get indexed through precisely the same process.
However, perhaps there is a way to use namespaces to recover more
specificity, but I have not thought much about the issue yet.
Cheers,
--
Dr. Denys Duchier Denys.Duchier@xxxxxxxxxxxx
Forschungsbereich Programmiersysteme (Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50 Phone: +49 681 302 5618
66041 Saarbruecken, Germany Fax: +49 681 302 5615
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








