Newbie: print file path with XSL

J

John Larson

Hi All,

Along with other elements I would like to have the actual filepath of my XML
file in my transformed output. Is there an eay way to do specify this in my
XSL?

Thank you in advance,

- John

RedHat 8.0 server
XSLTPROC and Xalan
 
M

Martin Honnen

John said:
Hi All,

Along with other elements I would like to have the actual filepath of my XML
file in my transformed output. Is there an eay way to do specify this in my
XSL?

What do you mean by file path? An XML source can be loaded from a URL
which is often not a file path.
Anyway, I think with XSLT 1.0 you need to pass the URL as a parameter to
the XSLT stylesheet
 

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,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top