Subject: Re: [xsl] variable question From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Thu, 11 Nov 2004 21:59:28 +0100 |
If so, you need:
<xsl:variable name="bibrecord" select="$bibkey/doc(concat('bib-data/', ., '.mods'))" />
because in this case the <mods:mods> element is parentless. This distinction is very subtle, and usually unimportant, but in general my advice would be to avoid the "//" at the beginning of the pattern unless you're really sure that you'll never want to match elements that don't appear in a tree rooted with a document node.
Cheers, Geert
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] variable question, Jeni Tennison | Thread | Re: [xsl] variable question, Jeni Tennison |
Re: [xsl] characters in xsl, Geert Josten | Date | RE: [xsl] characters in xsl, Michael Kay |
Month |