Re: [xsl] for-each loop in node set variable gives error - RTF traversal error

Subject: Re: [xsl] for-each loop in node set variable gives error - RTF traversal error
From: "cking" <cking@xxxxxxxxxx>
Date: Fri, 3 Sep 2004 10:08:07 +0200
Michael Kay wrote:
>

> The xx:node-set() extension function is available in most XSLT 1.0
> processors, but typically under a different namespace for each vendor. You
> need to check the documentation for the XSLT processor you are using.
> 
> EXSLT (www.exslt.org) attempted to standardize some of these common
> extensions, so if you are lucky you will find the function is available in
> an EXSLT-defined namespace.
> 

The EXSLT namespace for node-set is "http://exslt.org/common":

<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
 xmlns:exsl="http://exslt.org/common";
 extension-element-prefixes="exsl" >

    <xsl:for-each select="exsl:node-set($employeeList)/*">

Anton Triest

Current Thread