Browse Source

Fix error.

pull/101/head
Adam Vessey 13 years ago
parent
commit
1460b8e5ce
  1. 4
      ObjectHelper.inc

4
ObjectHelper.inc

@ -433,8 +433,8 @@ class ObjectHelper {
($xsl = DOMDocument::load($xsl_path)) &&
($ds = DOMDocument::loadXML($xmlstr))) {
$transform = new XSLTProcessor();
$transform->importStylesheet($domdoc);
return $transform->transformToHTML($ds);
$transform->importStylesheet($xsl);
return $transform->transformToXML($ds);
}
else {
$simplexml = new SimpleXMLElement($xmlstr);

Loading…
Cancel
Save