diff options
Diffstat (limited to 'Psso/XMLResponse.php')
| -rw-r--r-- | Psso/XMLResponse.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Psso/XMLResponse.php b/Psso/XMLResponse.php index 1b17660..61e31b4 100644 --- a/Psso/XMLResponse.php +++ b/Psso/XMLResponse.php @@ -35,10 +35,11 @@ class XMLResponse { //header('Content-Type: application/xhtml+xml'); $processor = new \XSLTProcessor; + $processor->registerPHPFunctionNS('urn:psso:xsl', 'L', 'L'); foreach (self::$stylesheets as $sheet) { $processor->importStylesheet($sheet); } - $root = \Dom\import_simplexml($this->doc); - echo $processor->transformToXml($root); + //$root = \Dom\import_simplexml($this->doc); + echo $processor->transformToXml($this->doc); } } |
