I am interacting with a third party database, and they have sent me a php script for the search. The data is fetched via XsltProcessor and returned as HTML.
Is there a process by which I can extract the data before it is converted to html, either as xml or a data stream?
Thanks
if ($strXML){
$xml = new DOMDocument;
$xml->loadXML( $strXML );
$xsl = new DOMDocument;
$xsl->load( $xmlpathtoxslfile );
$xsltproc = new XsltProcessor();
$xsltproc->importStyleSheet($xsl);
$html = $xsltproc->transformToXML($xml);
echo $html;
}


Sign In
Create Account

Back to top









