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

Re: 'apply-templates' on parameter of 'call-template'

Subject: Re: 'apply-templates' on parameter of 'call-template'
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 09 Apr 2004 16:40:46 -0400
Re:  'apply-templates' on parameter of 'call-template'
Not only what Ken says, but

At 02:03 PM 4/9/2004, he wrote:
As to why I want to do this particularly horrible thing, put it down to someone else's questionable design decisions. If the nodes that I want to 'surround' were in the XML rather than the XSL, this would be trivial.

But XSL *is* XML so you can use the document() function to get at the nodes of your stylesheet.

Nor is it necessarily so horrible. It's really a primary use case for document() if you allow that querying the stylesheet itself isn't really so different from querying a third file of some sort (and configuring stuff in third files is quite normal).


Note that this is all to change in XSLT 2.0. There you will be able transparently to process your own results, and all kinds of mayhem will be possible.

Cheers,
Wendell


___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
"Thus I make my own use of the telegraph, without consulting
the directors, like the sparrows, which I perceive use it
extensively for a perch." -- Thoreau


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.