Simple schema

From ReddNet
Revision as of 13:12, 16 January 2008 by Dano (talk | contribs) (New page: <!-- ExNodeSchema defines the elements for Logistical Networking exnode doc --> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!-- exnode element definition --> <xsd:eleme...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <xsd:element name="exnode">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="metadata" minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element ref="mapping" minOccurs="1" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="xmlns" type="xsd:string" use="required"/>
   </xsd:complexType>
 </xsd:element>
 <xsd:element name="mapping">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="metadata" minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element ref="read" minOccurs="1" maxOccurs="1"/>
       <xsd:element ref="write" minOccurs="1" maxOccurs="1"/>
       <xsd:element ref="manage" minOccurs="1" maxOccurs="1"/>
     </xsd:sequence>
   </xsd:complexType>
 </xsd:element>
 <xsd:complexType name="IBP_capability">
   <xsd:complexContent>
     <xsd:sequence>
       <xsd:element name="IBP_capability" type="xsd:string"/>
     </xsd:sequence>
   </xsd:complexContent>
 </xsd:complexType>
 <xsd:element name="read">
   <xsd:complexType>
     <xsd:complexContent>
       <xsd:extension base="IBP_capability">
       </xsd:extension>
     </xsd:complexContent>
   </xsd:complexType>
 </xsd:element>
 <xsd:element name="write">
   <xsd:complexType>
     <xsd:complexContent>
       <xsd:extension base="IBP_capability">
       </xsd:extension>
     </xsd:complexContent>
   </xsd:complexType>
 </xsd:element>
 <xsd:element name="manage">
   <xsd:complexType>
     <xsd:complexContent>
       <xsd:extension base="IBP_capability">
       </xsd:extension>
     </xsd:complexContent>
   </xsd:complexType>
 </xsd:element>

</xsd:schema>