[xsl] Cross-browser exsl:node-set, was: [xsl] Re: accessing a node-set in variables with libxslt

Subject: [xsl] Cross-browser exsl:node-set, was: [xsl] Re: accessing a node-set in variables with libxslt
From: "M. David Peterson" <m.david@xxxxxxxxxxxxx>
Date: Wed, 04 Jul 2007 15:22:37 -0600
On Wed, 04 Jul 2007 12:23:43 -0600, Sam Carleton
<scarleton@xxxxxxxxxxxxxxxx> wrote:

Add xmlns:exslt="http://exslt.org/common"; to the xsl:stylesheet and then
use
 exslt:node-set()

You can also use a trick suggested by David Carlisle, and formulated by Julian Reschke that will provide consistency and, as such, portability across all of the major XSLT processor vendors, providing the ability to use exsl:node-set() inside of MSXML as well. See: http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html for more detail.

On a related note, as of earlier today, adding support for exsl:node-set()
has been officially created by and assigned to Alexey Proskuryakov in the
WebKit Bugzilla database. My guess is that within a reasonable number of
nightly builds we will be enabled to begin the testing process which means
that all four major browsers, including Opera, will provide support for
exsl:node-set, MSXML via the handy work of David Carlisle and Julian
Reschke.  See http://bugs.webkit.org/show_bug.cgi?id=14525 for more detail.

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 |
http://dev.aol.com/blog/3155

Current Thread