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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
an implementation of xsl:key for XT, Denys Duchier | Thread | Fairly simple formatting problem w/, Teemu Ropponen |
an implementation of xsl:key for XT, Denys Duchier | Date | Bug in XT ?, Maxime Levesque |
Month |