How can I apply XLST to a SOAP request using PHP simpleXML and XLST? This seems absent in the docs as far as simpleXML's implimentation of the XSLT processor. It has XPATH, but that 开发者_运维百科can't really address my issue of sorting nodes after I get the request...
Any help appreciated
Not SimpleXML:
$xmldoc = new DOMDocument();
$xmldoc->load("*.xml");
$xsltproc = new XSLTProcessor();
$xsltproc->importStylesheet("*.xsl");
$resultdoc = $xsltproc->transformToDoc($xmldoc);
精彩评论