Newbie: print file path with XSL

Discussion in 'XML' started by John Larson, Jun 26, 2003.

  1. John  Larson

    John Larson Guest

    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
    John Larson, Jun 26, 2003
    #1
    1. Advertising

  2. John Larson wrote:
    > 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



    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, Jun 26, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    3,589
    A. Bolmarcich
    May 27, 2005
  2. Rob Smegma
    Replies:
    1
    Views:
    1,798
    shaun
    Sep 26, 2005
  3. Steve
    Replies:
    1
    Views:
    947
    Fredrik Lundh
    Dec 13, 2005
  4. keto
    Replies:
    0
    Views:
    903
  5. David Cournapeau

    print a vs print '%s' % a vs print '%f' a

    David Cournapeau, Dec 30, 2008, in forum: Python
    Replies:
    0
    Views:
    337
    David Cournapeau
    Dec 30, 2008
Loading...

Share This Page