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: 4 years ago
Size: 896 bytes


Class file image Download
<?xml version="1.0"?>
<xs:schema xmlns:xs="" elementFormDefault="qualified">
<xs:element name="lures">
   <xs:element name="lure" type="luretype"/>

<xs:complexType name="luretype">
     <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:attribute name="id" type="xs:integer"/>
   <xs:attribute name="num" type="less120" use="required"/>

<xs:simpleType name="less120">
  <xs:restriction base="xs:integer">
    <xs:minInclusive value="0"/>
    <xs:maxInclusive value="120"/>