|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how to refer to original source tree?
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








