xsl-list
[Top] [All Lists]

RE: Probs using XSLT in browsers

2005-03-08 07:01:38

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

--~------------------------------------------------------------------
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>
--~--