XML Schema Description
From Just Solve the File Format Problem
Revision as of 19:19, 17 April 2015 by VolodyA! V Anarhist (Talk | contribs)
XML Schema Description is used to define the valid XML document used for a specific purpose. XSD is itself an XML document and can be self-defined.
Example
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:extensionBindingPrefixes="xjc" elementFormDefault="unqualified" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0"> <xs:element name='FrostMessage'> <xs:complexType> <xs:sequence> <xs:element name='MessageId' type="xs:string"> </xs:element> <xs:element name='InReplyTo' type="xs:string"> </xs:element> <xs:element name='IdLinePos' type="xs:integer"> </xs:element> <xs:element name='IdLineLen' type="xs:integer"> </xs:element> <xs:element name='From' type="xs:string"> </xs:element> <xs:element name='Subject' type="xs:string"> </xs:element> <xs:element name='Date' type="xs:string"> </xs:element> <xs:element name='Time' type="xs:string"> </xs:element> <xs:element name='Body' type="xs:string"> </xs:element> <xs:element name='Board' type="xs:string"> </xs:element> <xs:element name='PubKey' type="xs:string"> </xs:element> <xs:element name='Signature' type="xs:string"> </xs:element> <xs:element name='SignatureV2' type="xs:string"> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>