Re: [xsl] variable question

Subject: Re: [xsl] variable question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 11 Nov 2004 22:16:08 GMT
concat takes any number of arguments but each must be a single string.

>    <xsl:variable name="bibkey" select="//db:biblioref/@linkend" />

selects any number of nodes, but if it selects more than 1 and you do

concat('bib-data/',  $bibkey, '.mods')

then as the error message you quoted says:

> 	A sequence of more than one item is not allowed as the second 
> argument of concat()	


David




________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread