2017-03-30 05:47
浏览 75

使用XSLT merge 2 XML,它来自PHP transformToXML

I am beginner in PHP, XSLT. Found solution for transform XML using XSLT:

$xml = Array2XML::createXML('Document', $result);
$xsl = new DOMDocument;
$processor = new XSLTProcessor();
$results=$processor->transformToUri($xml,"NewTeema.xml" );

But, what to do if I have 2 or more XMLs? This $xml is not file, and I dont want to save each xml, like file on server (because it is was converted response json). Any ideas?

2条回答 默认 最新

相关推荐 更多相似问题