diff options
| author | winter Sparkles | 2026-08-08 23:33:27 +0100 |
|---|---|---|
| committer | winter Sparkles | 2026-08-08 23:33:27 +0100 |
| commit | 4bb659e1f7bb5850db5695a536428a9b71e3ffe5 (patch) | |
| tree | 749e41db42f9f5a08e2342e65e660ac5e59c46f7 /Psso | |
| parent | b422b6ded608807c7d3bb8b965b3797ca513610b (diff) | |
tidy up the localisation stuff
Diffstat (limited to 'Psso')
| -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); } } |
