summaryrefslogtreecommitdiffstats
path: root/examples/xsd2c/ex2/ex2.xsd
diff options
context:
space:
mode:
authorGravatar snowdrop2004-06-02 11:20:48 +0000
committerGravatar snowdrop2004-06-02 11:20:48 +0000
commit09d5768a1979a70a1069509aa1d55f9db100a285 (patch)
tree45dd32429688b9a478ccdb87a4f3a21149622f28 /examples/xsd2c/ex2/ex2.xsd
parentb6d27351412b20656f670cea3ae969f5c30c634b (diff)
downloadcsoap-09d5768a1979a70a1069509aa1d55f9db100a285.tar.gz
csoap-09d5768a1979a70a1069509aa1d55f9db100a285.tar.bz2
initalial import
Diffstat (limited to 'examples/xsd2c/ex2/ex2.xsd')
-rw-r--r--examples/xsd2c/ex2/ex2.xsd24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/xsd2c/ex2/ex2.xsd b/examples/xsd2c/ex2/ex2.xsd
new file mode 100644
index 0000000..b61cf54
--- /dev/null
+++ b/examples/xsd2c/ex2/ex2.xsd
@@ -0,0 +1,24 @@
+<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"/>
+ <element name="Address" type="Address"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Address">
+ <sequence>
+ <element name="Street" type="xs:string"/>
+ <element name="StreetNum" type="xs:string"/>
+ <element name="Zip" type="xs:int"/>
+ <element name="City" type="xs:string"/>
+ <element name="Land" type="xs:string"/>
+ </sequence>
+ </complexType>
+
+</schema>