SHARE
TWEET

XML schema with attributes

ralienpp Mar 5th, 2012 52 Never
  1. <xs:complexType name="MessageAbstractType" abstract="true">
  2.   <xs:sequence>
  3.     <xs:element name="AP_Info">
  4.       <xs:complexType>
  5.         <xs:attribute name="AP_ID" type="xs:anyURI" use="required" />
  6.         <xs:attribute name="AP_TransID" type="xs:NCName" use="required" />
  7.         <xs:attribute name="AP_PWD" type="xs:string" use="required" />
  8.         <xs:attribute name="Instant" type="xs:dateTime" use="required" />
  9.         <xs:attribute name="AP_URL" type="xs:anyURI" use="optional" />
  10.       </xs:complexType>
  11.     </xs:element>
  12.     <xs:element name="MSSP_Info">
  13.       <xs:complexType>
  14.         <xs:sequence>
  15.           <xs:element name="MSSP_ID" type="mss:MeshMemberType" />
  16.         </xs:sequence>
  17.         <xs:attribute name="Instant" type="xs:dateTime" use="optional" />
  18.       </xs:complexType>
  19.     </xs:element>
  20.   </xs:sequence>
  21.   <xs:attribute name="MajorVersion" type="xs:integer" use="required" />
  22.   <xs:attribute name="MinorVersion" type="xs:integer" use="required" />
  23. </xs:complexType>
RAW Paste Data
Top