<xsl:import> and path

R

Robert Kattke

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.
 
K

Kenneth Stephen

Robert said:
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
 
P

Peter Flynn

Robert said:
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
 

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,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top