xsl-list
[Top] [All Lists]

RE: mixed content nodes question

2005-01-07 13:27:44


From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]

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[...]//

Thanks, I remember now :-)

Last time I was working w/ XSLT day-to-day, I was still waiting for XSLT 2
to hit the mainstream... :-)

~ml


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