From 39d8be0163434289b3cecd45c6fe72780c8105a0 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 8 Jul 2019 20:25:10 +0100 Subject: [PATCH] Added API.xsl back and changed url --- application/views/api/index.php | 2 +- assets/api.xsl | 119 ++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 assets/api.xsl diff --git a/application/views/api/index.php b/application/views/api/index.php index df27a7c1..32eff35b 100644 --- a/application/views/api/index.php +++ b/application/views/api/index.php @@ -5,7 +5,7 @@ $xmlDoc = new DOMDocument("1.0"); if($data['format'] == "xml") { // Add reference to the XSLT - $xsl = $xmlDoc->createProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"".base_url()."css/api.xsl\""); + $xsl = $xmlDoc->createProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"".base_url()."assets/api.xsl\""); $xmlDoc->appendChild($xsl); } diff --git a/assets/api.xsl b/assets/api.xsl new file mode 100644 index 00000000..e26b0ded --- /dev/null +++ b/assets/api.xsl @@ -0,0 +1,119 @@ + + + + + + + <xsl:value-of select="//queryInfo/@calledMethod"/> + + + +

Output of ''

+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ = +
+
+

+ +

+ + + + + + + + + + +
requestURI
dbQuery
clientVersion
+
+

+ +

+ + +
+