[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

Subject: xsl:apply-keys for XT (was: an implementation of xsl:key for XT (2nd attempt))
From: Denys Duchier <Denys.Duchier@xxxxxxxxxxxx>
Date: 19 Aug 1999 00:43:28 +0200
apply keys
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


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.