开发者

Use php simpleXML to sort some nodes in a soap request? XSLT?

开发者 https://www.devze.com 2023-03-30 03:34 出处:网络
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 开发者_运维百科ca

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);
0

精彩评论

暂无评论...
验证码 换一张
取 消