Subject: Re: [xsl] xsl:include href - relative to document root? From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Wed, 22 Jun 2005 07:35:52 +0100 |
From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <colin@xxxxxxxxxxxxxxxxxx>,<xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re: [xsl] xsl:include href - relative to document root? Date: Tue, 21 Jun 2005 13:07:34 -0400
Ok, right idea but it's not working for me.
This works:
<xsl:include href="../../blah/blah/includes_xsl/replace_string.xsl" />
but this doesn't:
<xsl:include href="http://myserver.com/includes_xsl/replace_string.xsl" />
That one produces this error in the browser: ======================== msxml4.dll error '80004005'
Error while parsing "http://myserver.com/includes_xsl/replace_string.xsl". No data is available for the requested resource ========================
I've verified that the http path is correct - anyone know that doesn't work?
Thanks.
Hardy Merrill
>>> colin@xxxxxxxxxxxxxxxxxx 6/21/2005 11:15 AM >>> >>>>> "Hardy" == Hardy Merrill <HMerrill@xxxxxxxxxxxxxxxx> writes:
Hardy> Let me back up and ask a more general question. In web Hardy> applications, how do other people organize style sheets so Hardy> that style sheets containing common code are located in one Hardy> place, and then how do application style sheets _using_ Hardy> that common code refer to (xsl:include?) them?
One way is to have a directory called common, under the document root.
The you can xsl:include/import from http://localhost/common/my-common.xsl. That works for server-side transformations only. -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:include href - relati, M. David Peterson | Thread | RE: [xsl] dynamic document() templa, Arian Hojat |
RE: [xsl] Contexts that are atomic , Michael Kay | Date | [xsl] Group-by Question, Michael Donabauer |
Month |