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

RE: Tree from directory listing

Subject: RE: Tree from directory listing
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 16 Dec 2004 10:14:19 -0000
tree alternative
> By the way, I realize that it opens an alternative to the 
> node-set function! Wrap your fragment in 
> some obscure element name (or just use some namespace) and 
> add a key that only matches that element. 
> Should work, I guess..

No, it doesn't. In XSLT 1.0 (sans xx:node-set()) you are only allowed to do
two things with an RTF, namely to copy it using xsl:copy-of and to use it in
a context where a string would be accepted. That means that a node in an RTF
can never become the context node, which means that you can't select within
an RTF using the key() function.

Nice try.

Michael Kay
http://www.saxonica.com/

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.