[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] URI of the passed Source-Document
Subject: Re: [xsl] URI of the passed Source-Document From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 10 Mar 2009 09:38:44 GMT |
> I looked around but I did not found a reliable way in XSLT 2 to get the URI > of the source document passed to the XSLT processor. document-uri(/) > I know that there is a way to get URI of a document accessed by document(), > but that is not what I'm looking for. there is nothing special about the nodes that are returend by document(), any functions that apply to those nodes may also be applied to the initial input. The only thing to note about the initial input is that it may not have a usable URI at all for example if it is coming from some in memory pipeline that doesn't explictly set the base uri to some value. David ________________________________________________________________________ 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. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] URI of the passed Source-Docu, Merico Raffaele | Thread | RE: [xsl] URI of the passed Source-, Michael Kay |
[xsl] URI of the passed Source-Docu, Merico Raffaele | Date | Re: [xsl] Basics of XSLT, Mukul Gandhi |
Month |
Keywords