aboutsummaryrefslogtreecommitdiff
path: root/Psso/XMLResponse.php
diff options
context:
space:
mode:
authorwinter Sparkles2026-08-08 23:33:27 +0100
committerwinter Sparkles2026-08-08 23:33:27 +0100
commit4bb659e1f7bb5850db5695a536428a9b71e3ffe5 (patch)
tree749e41db42f9f5a08e2342e65e660ac5e59c46f7 /Psso/XMLResponse.php
parentb422b6ded608807c7d3bb8b965b3797ca513610b (diff)
tidy up the localisation stuff
Diffstat (limited to 'Psso/XMLResponse.php')
-rw-r--r--Psso/XMLResponse.php5
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);
}
}