summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/simple_annotation.osml
blob: 55e1c08c2bf54c195cdf4b4c3657a20a5dd3aef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\begin{document}

\ontology#testOntology
	\struct#test[root=true]
		\field
			\childRef[ref=a]
	\struct#a[transparent=true]
		\primitive[type=string]
	\annotation#comment
		\primitive[type=string]

\begin{test}
This is a <\comment{Not a nice test!}test\> for annotations.
\end{test}

\end{document}