[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Referring to stylesheet itself, possible in XSLT 1
> but it is not possible [in 2.0] to use document('') (with empty > string) to refer to the current xslt file, it will throw an > error. Don't know where you got that idea. So long as the base URI of the stylesheet module is known, and is accessible in the run-time environment, document('') should retrieve it. You can also find out the base URI of the stylesheet module more directly using the static-base-uri() function. Michael Kay http://www.saxonica.com/
|
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
|