Wow.
I can't beleive I missed that.
I feel like a schmuck.
Thanks a TON!
-----Original Message-----
From: Antti Huotari [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 9:23 AM
To: Sablotron Mailing List
Cc: [EMAIL PROTECTED]
Subject: Re: [Sab] Sablot 0.51 and PHP (snapshot)
Greg Militello wrote:
> I have installed Sablot 0.51, and a copy of PHP from a snapshot
> recently.
Me: Sablotron 0.51, PHP-4.0.4, Linux
> Almost everything works excellently, save a few things:
> -xslt_process() does not allow <xsl:include/>, but xslt_transform() does
I use <xsl:include/>s in my stylesheets and xslt_process()
works like it should. Do you pass the base URI to the
xslt_process() function? Here is an example of how to do that:
$base = "file://path/to/xsl-dir/";
xslt_process ($xslt_string, $xml_string, $result, $base);
I think that xslt_transform() gets the base URI from the
xslt_uri parameter, so that is the reason why it works.
Antti