[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Result tree fragment to string?

Subject: Re: Result tree fragment to string?
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 28 Aug 2008 11:41:47 +0100
Re:  Result tree fragment to string?
> A result tree fragment is not a string but it is also not a node set.

True, but I think that's just a technicality... It's an artificial
restriction in XSLT 1.0 that was well intentioned but the decision was
quickly proved wrong.  It could be considered the biggest mistake in
1.0, especially because it was so easy to remove the restriction.

That's how I've understood it, hopefully someone can say whether that
really was the case (and maybe why the restriction is there?)


> then for instance Saxon 6.5 will complain "Error at xsl:apply-templates on
> line 13 [...]. Cannot process a result tree fragment as a node-set under
> XSLT 1.0".

I think that's a "feature" of 6.5... I'm pretty sure earlier versions
never complained.




-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.