XSLT question: getting URL of source document?

M

Marc

Hi,

I'm doing an XSLT transformation and I'd like to have the output file
contain a header like, "Automatically formatted from input
file://xyz.xml."

Is there any easy way to do this? I am imagining something like:

<xsl:value of select="url()"/>

But I don't see anything like this existing.

Thanks, Marc
 
C

Colin Mackenzie

no, you have to pass the filename as a paramter to the XSLT then output the
value of the parameter

Colin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top