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
| Current Thread |
- self discovery
- Greg Martel - Mon, 21 Jan 2002 18:34:19 -0500 (EST)
- <Possible follow-ups>
- sara . mitchell - Mon, 21 Jan 2002 18:57:46 -0500 (EST) <=
|
|