[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
In XSLT 1.0 you could do document('') to retrieve the xslt stylesheet document itself, and as a result you could do some funny things transforming oneself. In XSLT 2.0, there is resolve-uri() and document-uri(), the second of which takes a document or node as reference, but it is not possible to use document('') (with empty string) to refer to the current xslt file, it will throw an error. Is
An error could be thrown if the document-uri could not be determined, which is the case when a stylesheet is not loaded from a file but is (dynamically generated and/or) present in memory. -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play On 10/16/06, Abel Braaksma <abel.online@xxxxxxxxx> wrote: Hi 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
|