Template replacement engine ported from Shib, added conditional nesting.
[shibboleth/cpp-xmltooling.git] / xmltoolingtest / data / template.in
diff --git a/xmltoolingtest/data/template.in b/xmltoolingtest/data/template.in
new file mode 100644 (file)
index 0000000..2725527
--- /dev/null
@@ -0,0 +1,13 @@
+This is a template containing tags for substitution by the template engine.
+
+<mlp foo1/> <mlp foo2/> <mlp foo3/>
+
+<mlpif foo1><mlp foo3/></mlpif>
+
+<mlpif foo2><mlp foo1/></mlpif>
+
+<mlpif foo1>
+       <mlpifnot foo2>
+               <mlp foo3/>
+       </mlpifnot>
+</mlpif>