summaryrefslogtreecommitdiff
path: root/data/domain/book.osxml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-17 23:31:45 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-17 23:31:45 +0100
commitf1d70c71e0444fc49a85459db85c9a6a139f0bd0 (patch)
tree15e12f14b76cb5b28360d0535f88cf7d691c8bc0 /data/domain/book.osxml
parentbbc8b5a18f8b2f5ec0ae1de6e60c23464bd799b5 (diff)
Copied some domains and typesystems from the testdata folder to the data folder
Diffstat (limited to 'data/domain/book.osxml')
-rw-r--r--data/domain/book.osxml31
1 files changed, 31 insertions, 0 deletions
diff --git a/data/domain/book.osxml b/data/domain/book.osxml
index 9659334..8ec60ed 100644
--- a/data/domain/book.osxml
+++ b/data/domain/book.osxml
@@ -1,3 +1,34 @@
<?xml version="1.0" standalone="yes"?>
<domain name="book">
+ <struct name="book" cardinality="{1}" isRoot="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>
</domain>