cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: multiple layers of XSLT ...
Date Fri, 31 Mar 2000 07:31:39 GMT
#postgres@digital-mission.com wrote:
> 
> name, the XSLT processor cannot find it - the XSLTProcessor code seems to
> confirm that the
> stylesheet file name is computed relative to the location of the .xml file
> ... which
> has unpleasant ramfications for managebility of large sites.
> 
> Has anybody else run into this??

Here's how I worked around this one:

<?xml-stylesheet href="http://localhost/central.xsp" type="text/xsl"?>

Of course this is only good for testing on my local machine. But in
deployment you can get the server name from the HTTP request and insert
it instead of localhost.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung

Mime
View raw message