xsl-list
[Top] [All Lists]

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

2004-09-03 01:16:37
Thanks a lot Michael and cking for your help.

regards,
Ranjan
--- cking <cking(_at_)telenet(_dot_)be> wrote:

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



--+------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush