forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Sitruk" <>
Subject RE: using document() in XSL - unable to find the resource
Date Fri, 13 Jun 2003 07:52:41 GMT
It doesn't work, since when the XSL is executed by Forrest, it is
located in the skin/<skin-name> directory while the original file is
located under xdocs/... directory.
I think that if there is a variable telling what is the path from which
the file to be transformed is located it will help or at least if I
could get the file name (containing the path) of the file being
transformed it will also be fine.
Does any variable like these one exist??

-----Original Message-----
From: J.Pietschmann [] 
Sent: Thursday, June 12, 2003 23:56
Subject: Re: using document() in XSL - unable to find the resource

Mikael Sitruk wrote:
> When in the document2xhtml.xsl, I try to use the document(@file-name),
> Forrest does NOT load this document, while using the same xsl with an
> XSL transformer outside of Forrest, the thing works fine.
> The file 'B.xml' is in the same location than the file 'A.xml'

IIRC document(@filename) will resolve the URL against the style sheet
URL as base. Try document(@filename,/).


View raw message