summaryrefslogtreecommitdiff
path: root/examples/cxx/tree/streaming/records.xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-13 11:29:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-13 11:29:26 +0200
commitafebd79d44b75aed3b38e867c65330ba80ddc0ee (patch)
tree7fc95caae113884defce1ac712f93327f58f72e0 /examples/cxx/tree/streaming/records.xsd
parent0b21758fcd9f3127e30a1c9172c4c27b46a2b957 (diff)
Extended the streaming example
It now shows how to perform stream-oriented, partially in-memory XML processing using the C++/Tree mapping.
Diffstat (limited to 'examples/cxx/tree/streaming/records.xsd')
-rw-r--r--examples/cxx/tree/streaming/records.xsd37
1 files changed, 0 insertions, 37 deletions
diff --git a/examples/cxx/tree/streaming/records.xsd b/examples/cxx/tree/streaming/records.xsd
deleted file mode 100644
index 2b357e6..0000000
--- a/examples/cxx/tree/streaming/records.xsd
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
-file : examples/cxx/tree/streaming/records.xsd
-author : Boris Kolpackov <boris@codesynthesis.com>
-copyright : not copyrighted - public domain
-
--->
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="record">
- <xsd:sequence>
- <xsd:element name="data" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <!--
-
- We need this global element so that we get serialization functions
- for record. Note that global elements are always qualified. As a
- result, if you are using XML namespaces (this example is not), you
- will need to make sure the record element inside the records type
- is also qualified.
-
- -->
- <xsd:element name="record" type="record"/>
-
- <xsd:complexType name="records">
- <xsd:sequence>
- <xsd:element name="record" type="record" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:element name="records" type="records"/>
-
-</xsd:schema>