diff options
Diffstat (limited to 'examples/xsd2c/ex3/ex3.xsd')
-rw-r--r-- | examples/xsd2c/ex3/ex3.xsd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/xsd2c/ex3/ex3.xsd b/examples/xsd2c/ex3/ex3.xsd new file mode 100644 index 0000000..1bb649a --- /dev/null +++ b/examples/xsd2c/ex3/ex3.xsd @@ -0,0 +1,25 @@ +<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> + + <complexType name="Customer"> + <complexContent> + <extension base="Person"> + <attribute name="pos" type="xs:string"/> + <sequence> + <element name="JobID" type="xs:string"/> + <element name="FirmaID" type="xs:string"/> + </sequence> + </extension> + </complexContent> + </complexType> + +</schema> |