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

Reply via email to