There is a code:
<?php
$xsltproc = xslt_create();
$arguments = array( '$dayX' => 1 );
$xslt_result = xslt_process($xsltproc, 'file://C:/xml/ex24/cdcatalog.xml', 'file://C:/xml/ex24/cdcatalog.xsl',NULL,NULL,$arguments);
echo $xslt_result;
xslt_free($xsltproc);
?>
in manual there is spec, which explain how to access the
$dayX variable. Anyone knows how to get this variable in
xsl file? The spec is:...
These parameters can then be accessed within your XSL files using the <xslaram name="parameter_name"> instruction. The parameters must be UTF-8 encoded and their values will be interpreted as strings by the Sablotron processor...
...But i have a trouble to get this $dayX varible. Anyone
knows what the heck?
<?php
$xsltproc = xslt_create();
$arguments = array( '$dayX' => 1 );
$xslt_result = xslt_process($xsltproc, 'file://C:/xml/ex24/cdcatalog.xml', 'file://C:/xml/ex24/cdcatalog.xsl',NULL,NULL,$arguments);
echo $xslt_result;
xslt_free($xsltproc);
?>
in manual there is spec, which explain how to access the
$dayX variable. Anyone knows how to get this variable in
xsl file? The spec is:...
These parameters can then be accessed within your XSL files using the <xslaram name="parameter_name"> instruction. The parameters must be UTF-8 encoded and their values will be interpreted as strings by the Sablotron processor...
...But i have a trouble to get this $dayX varible. Anyone
knows what the heck?