cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: Bug: relative URLs in href attribute of <?stylesheet>
Date Thu, 20 Apr 2000 17:06:12 GMT
Michael Glenn wrote:
> 
> Ulrich Mayring wrote:
> >
> > Hi all,
> >
> > I was under the impression that this bug has been fixed, but it is still
> > not possible to use relative URLs in the href attribute of <?stylesheet>
> > directive. Anything that doesn't start with http:// is considered to be
> > a local filename. Why is that?
> >
> > Presently I have to specify my stylesheet like this:
> > http://myserver.domain.tld/std.xsl instead of just /std.xsl
> >
> > Whenever I rename that server or put the XML files onto another
> > (possibly virtual) server, I have to change all my XML files. This is
> > the type of tedious work I expected cocoon to do for me ;-)
> 
> Do relative locations work? i.e. ../std.xsl This is how we format our
> stylesheet references.

Haven't tried this, but they should work. However, then every time you
move an XML file to another directory, you have to adjust the path. So
this isn't really much help.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message