Hi all
 
I'm trying to use the xsl:include statement in order to modularise my stylesheets in the interests of reusability.  I can get the include statement to work when running sablotron from the command line but can't get it to work from php.  When using the php binding to sablotron I keep getting the error message:
 
Warning: [msgtype:error][code:242][module:Sablotron][URI:arg:/sheet][line:3][node:element ''][msg:'arg:/include.xsl' not found] in XSLT.inc on line 117
where XSLT is a php class that call sabltron in the following manner:
 
$processor = xslt_create_processor();
$this->xml_out = xslt_process($processor,
                   "arg:/sheet",
                   "arg:/input",
                   "arg:/result",
                   $this->parameters,
                   $this->args,
                   true,
                   &$error,
                   &$errorStr);
 
Has anyone successfully used the include statement in stylesheets processed using the php binding?
 
Thanks in advance for any help
Mat Jones
 
 

Reply via email to