summaryrefslogtreecommitdiffstats
path: root/examples/xsd2c/ex4/ex4.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xsd2c/ex4/ex4.xsd')
-rw-r--r--examples/xsd2c/ex4/ex4.xsd13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/xsd2c/ex4/ex4.xsd b/examples/xsd2c/ex4/ex4.xsd
new file mode 100644
index 0000000..42ab46f
--- /dev/null
+++ b/examples/xsd2c/ex4/ex4.xsd
@@ -0,0 +1,13 @@
+<schema>
+
+ <complexType name="Person">
+ <attribute name="id" type="xs:string"/>
+ <sequence>
+ <element name="Name" type="xs:string"/>
+ <element name="Lastname" type="xs:string"/>
+ <element name="Degree" type="xs:int"/>
+ <element name="Project" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+</schema>