Subject: Re: Dynamic path in xsl:import
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 12 Sep 2005 04:25:25 +0100
|
>>>>> "Navpreet" == SINGH Navpreet <Navpreet.SINGH@xxxxxxxxx> writes:
Navpreet> Hi, Developing an application that uses number of xslt
Navpreet> files to transform XML. Main XSLT file has many
Navpreet> xsl:import statements. Application needs to be deployed
Navpreet> on the tomcat server. Tomcat could be on installed on
Navpreet> separate location on two different machines. How can I
Navpreet> give a dynamic path for child xslt files in the
Navpreet> xsl:import statements depending upon server location?
You can't.
But do you really need to? It sounds like an XML catalog will do what
you want. You can have a different version of the catalog for each
server.
--
Colin Adams
Preston Lancashire
|