diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-17 23:31:45 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-17 23:31:45 +0100 |
commit | f1d70c71e0444fc49a85459db85c9a6a139f0bd0 (patch) | |
tree | 15e12f14b76cb5b28360d0535f88cf7d691c8bc0 /data/domain/lists.osxml | |
parent | bbc8b5a18f8b2f5ec0ae1de6e60c23464bd799b5 (diff) |
Copied some domains and typesystems from the testdata folder to the data folder
Diffstat (limited to 'data/domain/lists.osxml')
-rw-r--r-- | data/domain/lists.osxml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/data/domain/lists.osxml b/data/domain/lists.osxml new file mode 100644 index 0000000..66e77cb --- /dev/null +++ b/data/domain/lists.osxml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<domain name="lists"> + <import rel="domain" 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> +</domain> |