blob: 2cc5e542290dafd4aa21a829aa77c5de8b2ca1ea (
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
|
<?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 ref="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 ref="item"/>
</field>
</struct>
<struct name="item">
<fieldRef ref="book.paragraph.$default"/>
</struct>
</ontology>
|