summaryrefslogtreecommitdiff
path: root/xsd-tests/cxx/tree/polymorphism/ostream/test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-tests/cxx/tree/polymorphism/ostream/test.xml')
-rw-r--r--xsd-tests/cxx/tree/polymorphism/ostream/test.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/xsd-tests/cxx/tree/polymorphism/ostream/test.xml b/xsd-tests/cxx/tree/polymorphism/ostream/test.xml
new file mode 100644
index 0000000..5409d2a
--- /dev/null
+++ b/xsd-tests/cxx/tree/polymorphism/ostream/test.xml
@@ -0,0 +1,10 @@
+<root xmlns="test"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="test test.xsd">
+
+ <base><a>a</a><fund>1</fund></base>
+ <base xsi:type="derived1"><a>a</a><fund>1</fund><b>b</b></base>
+ <base xsi:type="derived2"><a>a</a><fund>1</fund><c>c1</c><c>c2</c></base>
+ <derived3><a>a</a><fund>1</fund><d>d1</d><d>d2</d></derived3>
+
+</root>