xsl-list
[Top] [All Lists]

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

2004-09-03 01:08:07
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