cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Harris" <phar...@crosswinds.net>
Subject Re: Alias & Cocoon
Date Wed, 02 Aug 2000 11:21:43 GMT
Have you tried,

<?xml-stylesheet href="http://your.domain.name/styles/xsl/document.xsl"
type="text/xsl"?>

hth

Phil
phil.harris@zope.co.uk

----- Original Message -----
From: "DEHAY Aurélien" <aurelien.dehay@sncf.fr>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, August 02, 2000 12:22 PM
Subject: Re: Alias & Cocoon


> aurelien.dehay@sncf.fr (DEHAY Aurélien) writes:
>
>
> [...]
>
> Seems it was not obvious. Well. Let's try again.
>
> Cocoon v1.7.4 & Apache 1.3.12
>
> In my xml file, I've got the following line:
>
> <?xml-stylesheet href="/styles/xsl/document.xsl" type="text/xsl"?>
>
> /styles/ is an apache alias on /developpement/commun/styles/.
>
> When I want to view the page via a browser, I've got the following
> error:
>
> « File "file:/developpement/sources/htdocs/styles/xsl/document.xsl" not
> found. »
>
> Why does Cocoon search for a "File:/" ??. When I put, instead of
> /styles/xsl/document.xsl, http://sources:8080/styles/xsl/document.xsl
(i.e. the http path of the xsl file), it works.
>
> How can I get Cocoon to seach via the web server instead of serching
> the file himself?
>
> --
> Aurélien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


Mime
View raw message