Subject: Re: [xsl] xsl:include href problems - again From: Robert Koberg <rob@xxxxxxxxxx> Date: Mon, 17 Oct 2005 13:28:46 -0400 |
I have a stylesheet in the document root which renders fine when I do these:
<xsl:include href="includes/new_banner.xsl"/> <xsl:include href="includes/new_footer.xsl"/>
But does NOT work (***and I don't understand why***) if I add the leading slash like this:
<xsl:include href="/includes/new_banner.xsl"/> <xsl:include href="/includes/new_footer.xsl"/>
that produces just a blank screen - no error.
I don't want to do this (doesn't work anyway and I don't know why, but might be a permission issue with the "includes" directory):
<xsl:include href="http://our.developmentserver.com/includes/new_banner.xsl"/> <xsl:include href="http://our.developmentserver.com/includes/new_footer.xsl"/>
because then when I migrate this xsl to our "test" and "prod" servers I'd have to change the "our.developmentserver.com" to "our.testserver.com" and so on.
I'm looking for a way to have the include href's refer to things relative to the document root, without having to name the specific server in an http string. Is this possible?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl:include href problems - a, Hardy Merrill | Thread | RE: [xsl] xsl:sort blocks of elemen, Stephane Dion |
[xsl] Junk-filled subject lines ([x, Mulberry Technologie | Date | RE: [xsl] xsl:sort blocks of elemen, Michael Kay |
Month |