<xsl:import> and path

Discussion in 'XML' started by Robert Kattke, Sep 17, 2004.

  1. I'm working with Tomcat and have all my XSL files in a dir under WEB-INF.

    I wanted to set up some variables in an XSL, then import it into others.
    However, without any path specified it (zalan) starts to look in
    %TOMCAT_HOME%/bin

    That makes it difficult to design XSL's that are webapp portable.
    Is there any way to reference current directory or current context ?
    TIA for your suggestions.
     
    Robert Kattke, Sep 17, 2004
    #1
    1. Advertising

  2. Robert Kattke wrote:

    > I'm working with Tomcat and have all my XSL files in a dir under WEB-INF.
    >
    > I wanted to set up some variables in an XSL, then import it into others.
    > However, without any path specified it (zalan) starts to look in
    > %TOMCAT_HOME%/bin
    >

    Robert,

    Any path specified where?

    Regards,
    Kenneth
     
    Kenneth Stephen, Sep 18, 2004
    #2
    1. Advertising

  3. Robert Kattke

    Peter Flynn Guest

    Robert Kattke wrote:

    > I'm working with Tomcat and have all my XSL files in a dir under WEB-INF.
    >
    > I wanted to set up some variables in an XSL, then import it into others.
    > However, without any path specified it (zalan) starts to look in
    > %TOMCAT_HOME%/bin
    >
    > That makes it difficult to design XSL's that are webapp portable.
    > Is there any way to reference current directory or current context ?


    Look at the path specs in %TOMCAT_HOME%/conf/server.xml

    ///Peter
    --
    "The cat in the box is both a wave and a particle"
    -- Terry Pratchett, introducing quantum physics in _The Authentic Cat_
     
    Peter Flynn, Sep 22, 2004
    #3
    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. Symon
    Replies:
    1
    Views:
    1,618
  2. Replies:
    0
    Views:
    850
  3. David Carlisle

    xsl:import and xsl:apply_import

    David Carlisle, Dec 16, 2004, in forum: XML
    Replies:
    5
    Views:
    509
    Shiju Rajan
    Dec 16, 2004
  4. Replies:
    1
    Views:
    3,695
    A. Bolmarcich
    May 27, 2005
  5. Replies:
    0
    Views:
    1,039
Loading...

Share This Page