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

RE: New XT release

Subject: RE: New XT release
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 5 Nov 1999 11:41:36 -0000
RE: New XT release
> Using the August release of XT, I have noticed that these restrictions
> do not seem to apply when you use the document XPath function...
> 
> If you assign the content of a document to a variable :
>   <xsl:variable name="tarifdef" select="document('tarif.xml')/tarif"/>
> 
> you can then use it without the restrictions on the tree fragments...

In this example tarifdef is not a result tree fragment, it is a nodeset. It
would be a result tree fragment if you wrote:

<xsl:variable name="tarifdef">
	<xsl:copy-of select="document('tarif.xml')/tarif"/>
</xsl:variable>

Result tree fragments only ever result from using xsl:variable with no
select expression.

Mike Kay


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


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-2013 All Rights Reserved.