xsl-list
[Top] [All Lists]

Re: Dynamic path in xsl:import

2005-09-11 20:25:25
"Navpreet" == SINGH Navpreet <Navpreet(_dot_)SINGH(_at_)Tenix(_dot_)com> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>