Subject: RE: Relative paths in xsl:import Was: [xsl] Parameter in "xsl:include" From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 3 Apr 2001 11:27:21 +0100 |
> Is there any practical way to give a "relative" location in the > xsl:import's href attribute? As far as I can understand, the current > working directory during the compilation of the style sheet can not be > known beforehand. Therefore, relative paths can not be used. However, > if I need to compile the stylesheet on some arbitrary environment, I > can not use absolute file locations. If your stylesheet is one.xsl, and you want to import two.xsl which is in the same directory as one.xsl, you can write <xsl:import href="two.xsl"/>. The relative URI is interpreted relative to the stylesheet location, not relative to the current working directory. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Q: Relative paths in xsl:import Was, Teppo Peltonen | Thread | Re: Q: Relative paths in xsl:import, Peter Flynn |
Re: Q: Relative paths in xsl:import, Peter Flynn | Date | [xsl] Dynamic Sorting - More parame, Cristobal Galiano Fe |
Month |