[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: how to refer to original source tree?
Subject: RE: how to refer to original source tree? From: Kay Michael <Michael.Kay@xxxxxxx> Date: Wed, 1 Sep 1999 10:19:34 +0100 |
> Given that one can refer to an alternate source document with > the document() > function, how does one go about referring to the original > source tree when > not in that context? If you're using document() in your stylesheet, it's probably a good idea to have a global variable of the form: <xsl:variable name="topdoc" select="/"/> Then you can always refer to the root of your top-level document using the variable reference $topdoc. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XT Question -- Output always eq, Garriss James | Thread | RE: comments on XSLT draft 13 Augus, Kay Michael |
Re: XT Question -- Output always eq, Teemu Ropponen | Date | RE: Linking acronym to a glossary e, Kay Michael |
Month |