diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-15 20:48:17 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-15 20:48:17 +0100 |
commit | 2544749215bc2465bfeca431e271110ca86d8a83 (patch) | |
tree | 6e1b9e500941cec7f63a526e27881491a13ee340 /testdata/xmlparser/lists_domain.oxm | |
parent | 6041324a65cfdb878154af68d74aac2c86372440 (diff) |
added much more test data: meta domain, lists domain, bibliography domain, version typesystem, email typesystem, affiliation typesystem and complex book document which uses the aforementioned domains and typesystems.
Diffstat (limited to 'testdata/xmlparser/lists_domain.oxm')
-rw-r--r-- | testdata/xmlparser/lists_domain.oxm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testdata/xmlparser/lists_domain.oxm b/testdata/xmlparser/lists_domain.oxm new file mode 100644 index 0000000..4360a6d --- /dev/null +++ b/testdata/xmlparser/lists_domain.oxm @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<domain name="lists"> + <import rel="domain" src="book.oxm"/> + + <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> |