If you are using flat files, sablot seems to automatically set the base
path.

If you are parsing strings (XSLT in a string) the XSL doesn't know how to
find your includes from relative paths.  So you would need to set your base
path.

-Greg



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 3:26 AM
To: Sablotron Mailing List
Subject: RE: [Sab] xsl:include



what do you mean your base path is set ?



>
> Assuming your base path is set, yes.
>
> <xsl:include href="include/general.xsl" />
>
> this will include the file "general.xsl" in the "include"
dir.
>
>
> -greg
>
> -----Original Message-----
> From: Scherb Hannes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 12:28 PM
> To: Sablotron Mailing List
> Subject: [Sab] xsl:include
>
>
>
> hi,
> i want to include one xsl-file into another.
> is there any way to use relative path in xsl:include?
>
> With absolute path <xsl:include
> href="file://c:/xitami/webpages/include.xsl"> it works fine.
> But that�s not portable. So I tried a relative path like this
> <xsl:include href="file://./include.xsl"> but that crashes!
> The same problem I`ve with the document() function.
>
> Hannes
>
>

Reply via email to