summaryrefslogtreecommitdiff
path: root/testdata/xmlparser/headings_domain.oxm
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 22:49:48 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 22:49:48 +0100
commitfabb174fd15d129e6b8d668cd3d621b0b9481c4f (patch)
treef4560186d8d25d750400d00c8b42e9ff5acdd3d1 /testdata/xmlparser/headings_domain.oxm
parente1a13f339fde6518850f4ace293477864a649d15 (diff)
Renamed files from oxm and oxd to osxml
Diffstat (limited to 'testdata/xmlparser/headings_domain.oxm')
-rw-r--r--testdata/xmlparser/headings_domain.oxm33
1 files changed, 0 insertions, 33 deletions
diff --git a/testdata/xmlparser/headings_domain.oxm b/testdata/xmlparser/headings_domain.oxm
deleted file mode 100644
index d421747..0000000
--- a/testdata/xmlparser/headings_domain.oxm
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<domain name="headings">
-
- <import rel="domain" src="./book_domain.oxm"/>
-
- <struct name="heading" cardinality="1" transparent="true">
- <!-- The parent mechanism is a curious thing. Remind yourself
- that parent-child-relationship in this sense are mediated
- by fields. So we must either reference a field that is
- already there or declare a new one on the fly. -->
- <parentRef ref="book.book">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.chapter">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.section">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.subsection">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.paragraph">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <!-- regarding its fields we have a problem here. We do not want to
- declare a new field, because in fact we want to allow every
- bit of content that a paragraph would allow - also considering
- possible extensions of paragraph by other domains.
- So we need to reference the default field of paragraph. -->
- <fieldRef ref="book.paragraph.$default"/>
- </struct>
-</domain>