Add the following line within your <VirtualHost></VirtualHost> directive:
1 |
php_value memory_limit 128M |
For increasing the allowed memory to 128 MB for php to consume for the specific virtual host.
Add the following line within your <VirtualHost></VirtualHost> directive:
1 |
php_value memory_limit 128M |
For increasing the allowed memory to 128 MB for php to consume for the specific virtual host.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// path to the xml document (may be url) $xml = "data.xml"; // path to the xsl document (may be url) $xsl = "transformation.xsl"; $xslDoc = new DOMDocument(); $xslDoc->load($xsl); $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); $proc = new XSLTProcessor(); $proc->importStylesheet($xslDoc); echo $proc->transformToXML($xmlDoc); |