Starting work on the templates for output
authorChris Cormack <chrisc@catalyst.net.nz>
Sun, 17 Nov 2013 23:29:19 +0000 (12:29 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 17 Nov 2013 23:29:19 +0000 (12:29 +1300)
templates/includes/header.inc [new file with mode: 0644]
templates/response.tt [new file with mode: 0644]

diff --git a/templates/includes/header.inc b/templates/includes/header.inc
new file mode 100644 (file)
index 0000000..797a783
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version = '1.0' encoding='UTF-8'?>
+<!DOCTYPE NCIPMessage
+xmlns:xsi = 'http://www.w3.org/2001/XMLSchema- instance' 
+xsi:noNamespaceSchemaLocation = 'http://www.niso.org/ncip/v2_01/imp1/xsd/ncip_v2_01.xsd' 
+version = 'http://www.niso.org/ncip/v2_01/imp1/xsd/ncip_v2_01.xsd'>
diff --git a/templates/response.tt b/templates/response.tt
new file mode 100644 (file)
index 0000000..efeab8b
--- /dev/null
@@ -0,0 +1,7 @@
+[% INCLUDE 'includes/header.inc' %]
+
+<NCIPMessage>
+    <[% messagetype %]>
+
+    </[% messagetype %]>
+</NCIPMessage>