diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-15 22:49:48 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-15 22:49:48 +0100 |
commit | fabb174fd15d129e6b8d668cd3d621b0b9481c4f (patch) | |
tree | f4560186d8d25d750400d00c8b42e9ff5acdd3d1 /testdata/xmlparser/lists_domain.osxml | |
parent | e1a13f339fde6518850f4ace293477864a649d15 (diff) |
Renamed files from oxm and oxd to osxml
Diffstat (limited to 'testdata/xmlparser/lists_domain.osxml')
-rw-r--r-- | testdata/xmlparser/lists_domain.osxml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testdata/xmlparser/lists_domain.osxml b/testdata/xmlparser/lists_domain.osxml new file mode 100644 index 0000000..4360a6d --- /dev/null +++ b/testdata/xmlparser/lists_domain.osxml @@ -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> |