Added API.xsl back and changed url

This commit is contained in:
Peter Goodhall
2019-07-08 20:25:10 +01:00
parent 37e38c4433
commit 39d8be0163
2 changed files with 120 additions and 1 deletions

View File

@@ -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);
}