[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
If performance is your only worry with this expression (you don't seem to worry about 'interference'), you could use the following:
And use key('citerefs', 'all') instead of $citerefs..
Re: [xsl] use-when attribute?
Subject: Re: [xsl] use-when attribute? From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Sat, 18 Dec 2004 11:30:09 +0100 |
I suppose one obvious approach would be this ...
<xsl:variable name="citerefs" select="//db:biblioref/@linkend | //cite:biblioref/@cite:key | //tei:cit/@href"/>
.... but I'm worried that's a bad idea from a performance standpoint. Any other alternatives?
If performance is your only worry with this expression (you don't seem to worry about 'interference'), you could use the following:
<xsl:key name="citerefs" match="db:biblioref/@linkend" use="'all'" /> <xsl:key name="citerefs" match="cite:biblioref/@cite:key" use="'all'" /> <xsl:key name="citerefs" match="tei:cit/@href" use="'all'" />
And use key('citerefs', 'all') instead of $citerefs..
Cheers, Geert
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] use-when attribute?, Bruce D'Arcus | Thread | Re: [xsl] use-when attribute?, Bruce D'Arcus |
Re: [xsl] Saxon Serializing and COn, Neville Thomas | Date | Re: [xsl] Recursive grouping - simp, Geert Josten |
Month |