xsl-list
[Top] [All Lists]

Re: Multiple root nodes in a node-set

2003-08-30 00:19:31

"Elliotte Harold" <elharo(_at_)metalab(_dot_)unc(_dot_)edu> wrote in message
news:3F500F4C(_dot_)1060805(_at_)metalab(_dot_)unc(_dot_)edu(_dot_)(_dot_)(_dot_)
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?

I don't think you can construct such a thing using either XPath or XSLT
1.0.


As easy as

         "/ | document('someURI')"



=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




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



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