home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _7DF0665ECB02450C8E4E98928D5D627F < prev    next >
Encoding:
Extensible Markup Language  |  2002-09-12  |  1.6 KB  |  46 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XML Spy v5 rc 1 U (http://www.xmlspy.com) by Mohan Gulati (Altova) -->
  3. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition" elementFormDefault="qualified" attributeFormDefault="unqualified">
  4.     <xs:annotation>
  5.         <xs:appinfo>
  6.             <tsd:schemaInfo name="BMW">
  7.                 <tsd:collection name="cars"/>
  8.                 <tsd:doctype name="Limousine">
  9.                     <tsd:logical>
  10.                         <tsd:content>closed</tsd:content>
  11.                     </tsd:logical>
  12.                 </tsd:doctype>
  13.             </tsd:schemaInfo>
  14.         </xs:appinfo>
  15.     </xs:annotation>
  16.     <xs:element name="Limousine">
  17.         <xs:annotation>
  18.             <xs:documentation>The root element is usually named the same as the doctype.</xs:documentation>
  19.         </xs:annotation>
  20.         <xs:complexType>
  21.             <xs:sequence>
  22.                 <xs:element name="EngineSpec" type="xs:string"/>
  23.                 <xs:element name="Type" type="xs:string"/>
  24.                 <xs:element name="Interior">
  25.                     <xs:complexType>
  26.                         <xs:sequence>
  27.                             <xs:element name="HiFiSystem" type="xs:string"/>
  28.                             <xs:element name="Covering" type="xs:string"/>
  29.                             <xs:element name="SatNav" type="xs:string"/>
  30.                         </xs:sequence>
  31.                     </xs:complexType>
  32.                 </xs:element>
  33.                 <xs:element name="Extras">
  34.                     <xs:complexType>
  35.                         <xs:sequence>
  36.                             <xs:element name="Metalic" type="xs:boolean"/>
  37.                             <xs:element name="Sunroof" type="xs:boolean"/>
  38.                             <xs:element name="Magwheels" type="xs:boolean"/>
  39.                         </xs:sequence>
  40.                     </xs:complexType>
  41.                 </xs:element>
  42.             </xs:sequence>
  43.         </xs:complexType>
  44.     </xs:element>
  45. </xs:schema>
  46.