summaryrefslogtreecommitdiff
path: root/testdata/xmlparser/simple_book.oxd
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 00:27:11 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 00:27:11 +0100
commit253492406f04657fe71e6c0c6603496241280478 (patch)
tree5a9c1b785a5559025ff7d26bf9ed880ce98ff0ce /testdata/xmlparser/simple_book.oxd
parent551b7be64f207845cb05b8ec593f9bf2d7f0c940 (diff)
parentb708dd4cce828c1089a18fefcc22804f7cdad908 (diff)
Merge branch 'master' into astoecke_parser_stack_new
Conflicts: application/CMakeLists.txt application/src/core/parser/stack/DocumentHandler.hpp application/src/core/parser/stack/DomainHandler.hpp application/src/core/parser/stack/ImportIncludeHandler.hpp
Diffstat (limited to 'testdata/xmlparser/simple_book.oxd')
-rw-r--r--testdata/xmlparser/simple_book.oxd28
1 files changed, 0 insertions, 28 deletions
diff --git a/testdata/xmlparser/simple_book.oxd b/testdata/xmlparser/simple_book.oxd
index de33536..abf575f 100644
--- a/testdata/xmlparser/simple_book.oxd
+++ b/testdata/xmlparser/simple_book.oxd
@@ -1,45 +1,17 @@
<?xml version="1.0"?>
<document>
<import rel="domain" src="book_domain.oxm"/>
- <!-- Currently we have only one root. Thus we need no wrapper. -->
- <!-- Note that we only reference "book" here, which resolves to the book
- domain as well as the book StructuredClass. This is unambigous however,
- because we are looking for a StructuredClass. The resolving mechanism
- should be able to handle this. -->
<book>
- <!-- implicitly:
- <book name="">
- -->
- <!-- note that we do not refer to the attributes explicitly. Attributes are
- referenced by their key-value pairs as defined in the according
- StructType. For an example please refer to the more complex book
- domain. -->
- <!--<paragraph>-->
- <text>
This might be some introductory text or a dedication.
- </text>
- <!--</paragraph>-->
<!-- Note that a better version of the book domain might specify
headings here. -->
<chapter name="myFirstChapter">
- <paragraph>
- <text>
Here we might have an introduction to the chapter.
- </text>
- </paragraph>
<section name="myFirstSection">
- <paragraph>
- <text>
Here we might find the actual section content.
- </text>
- </paragraph>
</section>
<section name="mySndSection">
- <paragraph>
- <text>
Here we might find the actual section content.
- </text>
- </paragraph>
</section>
</chapter>
</book>