0% found this document useful (0 votes)
164 views1 page

XML Schema for Work Orders

This XML schema defines a Message element with a Header subelement containing a MessageID and PublishedDate, and a Body subelement containing a Workorder_ID integer and OrderStatusDesc byte. Elements are qualified and attributes are unqualified by default.

Uploaded by

Marian Vătafu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views1 page

XML Schema for Work Orders

This XML schema defines a Message element with a Header subelement containing a MessageID and PublishedDate, and a Body subelement containing a Workorder_ID integer and OrderStatusDesc byte. Elements are qualified and attributes are unqualified by default.

Uploaded by

Marian Vătafu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"

xmlns:xs="[Link]

<xs:element name="Message">

<xs:complexType>

<xs:sequence>

<xs:element name="Header">

<xs:complexType>

<xs:sequence>

<xs:element type="xs:string" name="MessageID"/>

<xs:element type="xs:string" name="PublishedDate"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Body">

<xs:complexType>

<xs:sequence>

<xs:element type="xs:int" name="Workorder_ID"/>

<xs:element type="xs:byte" name="OrderStatusDesc"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

You might also like