[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Trying to understand root-less or document-node-le
Andrew Welch wrote:
What you're describing is the same as typing the variable as="element()" eg: Hi David, thanks for your response. Surely that adds to clarity (and iirc, Michael Kay often tried to emphasize the use of the 'as' clause to prevent the document node from being created). But root() never seems to fail: in your example, that means that the result is a sequence of two elements with each having a root equal to self::node()? And both, I guess, not being siblings from one another? Cheers, -- Abel Braaksma
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|