RE: [xsl] Dynamic path in xsl:import

Subject: RE: [xsl] Dynamic path in xsl:import
From: "SINGH Navpreet" <Navpreet.SINGH@xxxxxxxxx>
Date: Mon, 12 Sep 2005 16:50:47 +1000
Thanks for the response. XML catalog is new for me, don't know much
about it. Just want to know if this is the only option! Anyone.

-----Original Message-----
From: Colin Paul Adams [mailto:colin@xxxxxxxxxxxxxxxxxx]
Sent: Monday, 12 September 2005 1:25 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Dynamic path in xsl:import

>>>>> "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

Colin Adams
Preston Lancashire

Current Thread