[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: variable question
On Nov 10, 2004, at 5:00 PM, Jeni Tennison wrote:
Note that the path "$bibrecord/key('biblio', $bibkey)" is newly allowed in XPath 2.0, and makes searching documents using keys a whole lot easier than it used to be. Ah, that's what I'm looking for. I'm getting this error though: A sequence of more than one item is not allowed as the second argument of concat() Here's how I've defined the top-level variables: <xsl:variable name="bibkey" select="//db:biblioref/@linkend" /> <xsl:variable name="bibrecord" select="doc(concat('bib-data/', $bibkey, '.mods'))" /> <xsl:key name="biblio" match="//mods:mods" use="@ID" /> Why am I getting that error then? Bruce
|
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
|