1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
\begin{document} \ontology#testOntology \struct#test[isRoot=true] \field \childRef[ref=a] \struct#a \field \childRef[ref=b] \struct#b \primitive[type=string,optional=true] \begin{test} \a{!} \b \a \end{test} \end{document}