summaryrefslogtreecommitdiff
path: root/data/ontology/lists.osxml
blob: a177cd40b5761a46fa263c0338ec35deb91560a7 (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
<?xml version="1.0"?>
<ontology name="lists">
	<import rel="ontology" src="book"/>

	<struct name="ul" isa="book.paragraph">
		<!-- Here we solve the problem of parents using the isa
			 mechanism, because a list may occur whereever a paragraph
			 may occur. However we do want to override the default field. -->
		<field>
			<childRef name="item"/>
		</field>
	</struct>
	<struct name="ol" isa="book.paragraph">
		<!-- Here we solve the problem of parents using the isa
		     mechanism, because a list may occur whereever a paragraph
		     may occur. However we do want to override the default field. -->
		<field>
			<childRef name="item"/>
		</field>
	</struct>
	<struct name="item">
		<field>
			<childRef name="book.paragaph"/>
		</field>
	</struct>
</ontology>