Watch 4 Star 3 Fork 2

mimvp / mimvp-sitemap-phpPHPMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Clone or download
test_xml2html.php 363 Bytes
Copy Edit Web IDE Raw Blame History
homer authored 2017-08-08 22:12 . commit mimvp-sitemap-php
header("Content-Type: text/html; charset=UTF-8");
$xml = new DOMDocument();
$xsl = new DOMDocument();
$xslproc = new XSLTProcessor();
echo $xslproc->transformToXML($xml);
$f = fopen('sitem.html', 'w+');
fwrite($f, $xslproc->transformToXML($xml));

Comment ( 0 )

You need to Sign in for post a comment

Help Search