blob: 2c615ca5a2adbe0e6bea3e40310f5e00df10332d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<?xml version="1.0" standalone="yes"?>
<!-- The ontology node is the root node of a single ontology definition -->
<ontology name="book">
<struct name="book" cardinality="{1}" root="true">
<field>
<childRef ref="book.chapter"/>
<childRef ref="book.paragraph"/>
</field>
</struct>
<struct name="chapter">
<field>
<childRef ref="book.section"/>
<childRef ref="book.paragraph"/>
</field>
</struct>
<struct name="section">
<field>
<childRef ref="book.subsection"/>
<childRef ref="book.paragraph"/>
</field>
</struct>
<struct name="subsection">
<field>
<childRef ref="book.paragraph"/>
</field>
</struct>
<struct name="paragraph" transparent="true">
<field>
<childRef ref="book.text"/>
</field>
</struct>
<struct name="text" transparent="true">
<primitive type="string"/>
</struct>
</ontology>
|