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

Re: AW: AW: Using key() from outside the default names

Subject: Re: AW: AW: Using key() from outside the default namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 7 Aug 2003 22:39:16 +0100
Re: AW: AW:  Using key() from outside the default names

> So this for-each applied to my $maindoc actually places a node into the
> variable? Yuck.

Not the for-each, its the variable construct itself.
If you use xsl:variable with content then it generates a result-tree
fragment consisting of a root node with content whatever you construct.
If you xx:node-set() that result tree frag to a node set then it
contains a single / node.

Usually you want to apply-templates select="node()" to start at the 
children of the root.


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

Current Thread


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.
First Name
Last Name
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.