Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/branches/1_5/sample/marshal/enum/enum.xsd

Revision 1854, 0.7 kB (checked in by nahi, 2 years ago)
  • just fixed typo in a sample.
Line 
1 <?xml version="1.0"?>
2 <schema
3     xmlns="http://www.w3.org/2001/XMLSchema"
4     xmlns:txd="urn:org.example.enumsample"
5     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6     targetNamespace="urn:org.example.enumsample">
7
8   <complexType name="hobbit.type">
9     <sequence>
10       <element name="name" type="txd:hobbit.name.type"/>
11       <element name="age" type="xsd:int"/>
12     </sequence>
13   </complexType>
14
15   <simpleType name="hobbit.name.type">
16     <restriction base="xsd:string">
17       <enumeration value="frodo"/>
18       <enumeration value="sam"/>
19       <enumeration value="meriadoc"/>
20       <enumeration value="peregrin"/>
21     </restriction>
22   </simpleType>
23 </schema>
Note: See TracBrowser for help on using the browser.