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

RE: self discovery

Subject: RE: self discovery
From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Jan 2002 10:17:56 -0000
self discovery message
ok.... (to make it clearer or possibly muddy it further)

Imagine:
You have an XML file, and apply xsl-1 to it.  Xsl-1 takes a node-set of the
root (or any node-set) and passes that to some script.  The script makes an
object out it, and applies xsl-2 (a different stylesheet) to that, and
displays the result.

The whole point of this is to be able to apply a second stylesheet without
ever knowing the filename of the xml - is this fantasy or a possibility??


andrew

===


>You're right, it can't. But you can pass this information
>into the stylesheet using a top-level parameter. Most
>XSLT engines allow you to specify parameters at the
>command line or within function calls.
>
>Sara

> -----Original Message-----
> From: Greg Martel [mailto:gregm@xxxxxxxxxxx]
> Sent: Monday, January 21, 2002 3:39 PM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  self discovery
>
>
> Looks like the answer to this is NO, but I haven't been able to find
> a definitive answer and I wanted to make sure before I gave up:
>
> Can an XSL style sheet look up the name of the XML document that it's
> processing? (And if so, how?) Any help would be much appreciated.
> --
> Thanks,
>
> Greg Martel
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

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



 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.