Windows自动启动程序的十大藏身之所
2008-03-28 08:14
281 查看
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/cars" xmlns="http://www.example.org/cars" elementFormDefault="qualified"> <xs:element name="car" type="car-type"></xs:element> <xs:complexType name="car-type"> <xs:sequence> <xs:group ref="size"/> <xs:element name="color" type="color-type" /> <xs:element name="price" type="price-type" /> </xs:sequence> <xs:attributeGroup ref="pay-attribute"/> </xs:complexType> <xs:group name="size"> <xs:sequence> <xs:element name="length" type="xs:integer"/> <xs:element name="width" type="xs:integer"/> <xs:element name="height" type="xs:integer"/> </xs:sequence> </xs:group> <xs:attributeGroup name="pay-attribute"> <xs:attribute name="period" type="xs:integer" use="required"/> <xs:attribute name="eachPerMonth" type="xs:integer" use="required"/> </xs:attributeGroup> <xs:simpleType name="color-type"> <xs:restriction base="xs:string"> <xs:enumeration value="red" /> <xs:enumeration value="green" /> <xs:enumeration value="black" /> <xs:enumeration value="white" /> </xs:restriction> </xs:simpleType> <xs:complexType name="price-type"> <xs:sequence> <xs:element name="amount" type="xs:decimal" /> </xs:sequence> <xs:attribute name="concurrency" type="pay-type" use="required" /> </xs:complexType> <xs:simpleType name="pay-type"> <xs:restriction base="xs:string"> <xs:enumeration value="dollar" /> <xs:enumeration value="yuan" /> <xs:enumeration value="ponds" /> </xs:restriction> </xs:simpleType> <xs:complexType name="pay-type2"> <xs:simpleContent> <xs:extension base="xs:integer"> <xs:attribute name="concurrency" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:schema>
相关文章推荐
- Windows自动启动程序的十大藏身之所(转载)
- 转贴:Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所(转载)
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所(转)
- Windows自动启动程序的十大藏身之所(转载)
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- Windows自动启动程序的十大藏身之所
- 操作系统自动启动程序十大藏身之所
- Windows自动启动程序的藏身之所
- 系统自动启动程序之十大藏身之所