PHP Classes

File: test.xsd

Recommend this page to a friend!
  Classes of Andrey Nikishaev   XML Tools   test.xsd   Download  
File: test.xsd
Role: Auxiliary data
Content type: text/plain
Description: XSD Schema
Class: XML Tools
Parse and validate XML documents
Author: By
Last change: Role changed
Date: 12 years ago
Size: 896 bytes


Class file image Download
<?xml version="1.0"?> <xs:schema xmlns:xs="" elementFormDefault="qualified"> <xs:element name="lures"> <xs:complexType> <xs:sequence> <xs:element name="lure" type="luretype"/> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="luretype"> <xs:sequence> <xs:element name="lureName" type="xs:string"/> <xs:element name="lureCompany" type="xs:string"/> <xs:element name="lureQuantity" type="xs:integer"/> <xs:element name="lureQuantity2" type="xs:integer"/> </xs:sequence> <xs:attribute name="id" type="xs:integer"/> <xs:attribute name="num" type="less120" use="required"/> </xs:complexType> <xs:simpleType name="less120"> <xs:restriction base="xs:integer"> <xs:minInclusive value="0"/> <xs:maxInclusive value="120"/> </xs:restriction> </xs:simpleType> </xs:schema>