Source for file test.php
Documentation is available at test.php
ini_set('include_path', '.:/usr/local/lib/php');
//require_once 'System/Command.php';
require_once 'XSLT/XSLT_Wrapper.php';
//define('XSLT_XT_CMD','~/xslt_wrapper/xt-20020428a-src/demo/xt.sh');
$xml = '<?xml version="1.0"?>
$xslt = XSLT_Wrapper ::XSLT_Wrapper (XSLT_DOM );
$xslt->setXML ($xml, PEAR_XSLT_MODE_STRING );
$xslt->setXSL ('table.xsl', PEAR_XSLT_MODE_FILE );
$xslt->setParam ('numberofcols', 4 );
$xslt_result = $xslt->ResultDumpOut ();
$options['outputfolder'] = './outputbatch2/';
$options['xslt_files'] = array (
'filepath'=> 'table2.xsl',
$xslt->batchXML ($options);
$options['xslt'] = './samples/table.xsl';
$options['xml_datas'] = array (
$options['outputfolder'] = './outputbatch4312/';
$xslt->batchXSL ($options);
Documentation generated on Mon, 11 Mar 2019 15:28:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|