Subject: Re: [xsl] Please Confirm that xsl:document instruction cannot have a document URI From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 28 Aug 2013 17:25:16 +0100 |
I tried to find an answer to this question but neither Google nor MarkMail revealed a definitive answer.
I have code that constructs a document using <xsl:document> and then passes it to a 3rd-party function library that expects the input document to have a URI so that it can then resolve relative URI references.
Based on my reading of the XSLT 2 spec and what I could find in my searches, it appears that there is no standard way to define a document URI for documents created using <xsl:document>.
This seems like a bit of an oversight in the spec, so I wanted to get confirmation that my analysis is correct, that I cannot use <xsl:document> alone as input to functions that expect to get a non-null document-uri() value.
Thanks,
Eliot
The base URI of the new document node is taken from the base URI of the xsl:document instruction.
-- google plus: https:/profiles.google.com/d.p.carlisle
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Please Confirm that xsl:docum, Eliot Kimber | Thread | Re: [xsl] Please Confirm that xsl:d, Michael Kay |
[xsl] Please Confirm that xsl:docum, Eliot Kimber | Date | Re: [xsl] XSLT at the XML Summer Sc, Lauren Wood |
Month |