RE: [xsl] Probs using XSLT in browsers

Subject: RE: [xsl] Probs using XSLT in browsers
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Tue, 8 Mar 2005 14:01:38 -0000
> >So i assume that the IE and the FF processors don't support the
> >exslt:node-set()
> >
> Moz does not. I think there is an MSXML implementation though (IE).

You can get avoid using the node-set() extension in cases like this by

<xsl:for-each select="document('')/xsl:stylesheet/xsl:variable/dia">

An emtpy string for the document() function returns the stylesheet
itself, which you can then treat like a source document and access your
variable using Xpath.  Slower, but portable.


Current Thread