%PDF- %PDF-
Direktori : /www/old2/_music/scanned/ |
Current File : /www/old2/_music/scanned/transform.php |
<?php header("Content-type: text/xml"); function transform($xml, $xsl) { $xslt = new XSLTProcessor(); $xslt->importStylesheet(new SimpleXMLElement($xsl)); return $xslt->transformToXml(new SimpleXMLElement($xml)); } $in = file_get_contents("sourceTo.xml"); $xsl = file_get_contents("transformTo.xsl"); echo transform($in, $xsl); ?>