スキーマ定義には、以下の車両登録のスキーマを使用します。
下記のスキーマをコピーして、「スキーマ定義」の中に貼り付けます。
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by FileNET Corp. (FileNET Corp.) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="VehicleReg">
<xs:annotation>
<xs:documentation>Root</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Owner" type="xs:string"/>
<xs:element name="Vehicle">
<xs:complexType>
<xs:sequence>
<xs:element name="VIN" type="xs:string"/>
<xs:element name="Value" type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
下記のスキーマをコピーして、「スキーマ定義」の中に貼り付けます。
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by FileNET Corp. (FileNET Corp.) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="VehicleReply">
<xs:annotation>
<xs:documentation>Root</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Owner_reply" type="xs:string"/>
<xs:element name="VIN_reply" type="xs:string"/>
<xs:element name="RegNumber_reply" type="xs:string"/>
<xs:element name="RegFee_reply" type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>