Subject: RE: 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
using:
<xsl:for-each select="document('')/xsl:stylesheet/xsl:variable/dia">
...
</xsl:for-each>
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.
cheers
andrew
| Current Thread |
|
Andrew Welch - 8 Mar 2005 14:04:29 -0000 <=
Andrew Welch - 8 Mar 2005 15:04:31 -0000
|
|