xsl-list
[Top] [All Lists]

Re: Multiple root nodes in a node-set

2003-08-29 23:15:39




Is there anything in the XPath 1.0 data model which prohibits a node-set
from containing more than a single root node? For instance, could a
node-set be imagined which contains document nodes for two or three
documents?

No and yes.

I don't think you can construct such a thing using either XPath or XSLT
1.0. However, in other environments, it might be feasible.

The document() function can load multiple documents in call.

Dave


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>