Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XSLT question: getting URL of source document?

Reply
Thread Tools

XSLT question: getting URL of source document?

 
 
Marc
Guest
Posts: n/a
 
      07-08-2003
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
 
Reply With Quote
 
 
 
 
Colin Mackenzie
Guest
Posts: n/a
 
      07-09-2003
no, you have to pass the filename as a paramter to the XSLT then output the
value of the parameter

Colin


"Marc" <> wrote in message
news: m...
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting final url when original url redirects IanR Python 2 03-12-2009 08:50 PM
getting values from URL such as http://groups.google.co.uk/groups?q=parameters+url+asp.net&start=10&hl=en&lr=& anonymous ASP .Net 1 05-08-2005 03:58 PM
URL - substitution of a correct URL by a GUID like URL in favorites. Just D. ASP .Net Mobile 0 08-11-2004 04:26 PM
ANN: New low-cost XML Editor, XSLT Editor, XSLT Debugger, DTD/Schema Editor Stylus Studio Java 0 08-03-2004 03:53 PM
redirect URL's, return URL's, and URL Parameters Jon paugh ASP .Net 1 07-10-2004 05:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57