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

RE: xslt 2.0, use case wanted.

Subject: RE: xslt 2.0, use case wanted.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 6 Apr 2004 11:20:39 +0100
outermost use cases
> Surely the point of specifying a starting node would be to operate
> on a sub-document so that in your example /part/book/index would
> be invisible to the XSLT processing. Your 'equivalent' syntax requires
> the whole document to exist in memory.

XSLT 1.0 didn't allow a transformation to start at any node, but MSXML3 and
JAXP both did, though both were a bit vague about the semantics. In both
cases the starting node is not constrained to be the root of a tree. If the
calling API wants to give you the ability to carve out a subtree and supply
the root node of that subtree as the place where transformation should
start, then it can do so, but that's outside the XSLT scope. Calling "/" in
XSLT at the outermost level (e.g. in a global variable) gives you the root
of the document containing the initial context node.

Michael Kay

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.