[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Probs using XSLT in browsers

Subject: RE: Probs using XSLT in browsers
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Tue, 8 Mar 2005 14:01:38 -0000
RE:  Probs using XSLT in browsers
> >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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.