summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/include_root.osml
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/osmlparser/include_root.osml')
-rw-r--r--testdata/osmlparser/include_root.osml20
1 files changed, 20 insertions, 0 deletions
diff --git a/testdata/osmlparser/include_root.osml b/testdata/osmlparser/include_root.osml
new file mode 100644
index 0000000..1d1d660
--- /dev/null
+++ b/testdata/osmlparser/include_root.osml
@@ -0,0 +1,20 @@
+\begin{document}
+
+\domain#testDomain
+ \struct#test[isRoot=true]
+ \field
+ \childRef[ref=a]
+ \childRef[ref=b]
+ \struct#a
+ \field
+ \childRef[ref=b]
+ \struct#b[transparent=true]
+ \primitive[type=string,optional=true]
+
+\begin{test}
+\a
+\include{./include_child.osml}
+\b
+Test
+\end{test}
+\end{document}