xsl-list
[Top] [All Lists]

RE: mixed content nodes question

2005-01-07 13:15:53

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[(_at_)name='table']/entry[...]//

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



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