Simple schema: Difference between revisions
Jump to navigation
Jump to search
(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...) |
No edit summary |
||
Line 9: | Line 9: | ||
<xsd:element ref="mapping" minOccurs="1" maxOccurs="unbounded"/> | <xsd:element ref="mapping" minOccurs="1" maxOccurs="unbounded"/> | ||
</xsd:sequence> | </xsd:sequence> | ||
</xsd:complexType> | </xsd:complexType> | ||
</xsd:element> | </xsd:element> |
Latest revision as of 13:37, 16 January 2008
<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: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>