[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] mixed content nodes question


Subject: RE: [xsl] mixed content nodes question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Jan 2005 20:15:53 -0000

> Why do you need the node-set() extension for that?
> 

If $table is a result tree fragment, XSLT 1.0 doesn't allow it to be
accessed using a path expression of the form 

$table/entry[...]//

Instead you either have to do

xx:node-set($table)/entry[...]//

or

document('')/*/xsl:variable[@name='table']/entry[...]//

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords