[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] referring to variables using variables?


Subject: RE: [xsl] referring to variables using variables?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 13 Jan 2004 13:37:22 -0000

> i changed xx in select="xx:node-set($index)/*" to xmlns and 
> changed the 
> select function slightly to match the brackets  <xsl:for-each 
> select="document($nsindex/*[name()=$catname])/root/child::*"> 
> . It says 
> 'Namspace " does not contain any functions ', does anyone 
> know what this 
> means?

You need to bind the namespace prefix xx to a namespace that contains
the function with local-name "node-set". This depends on the XSLT
processor you are using. It looks as if you bound it to the null
namespace, and the null namespace does not contain any functions.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords