xml.xsd 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version='1.0'?>
  2. <!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >
  3. <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
  4. <xs:attribute name="lang" type="xs:language">
  5. <xs:annotation>
  6. <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
  7. codes as the enumerated possible values . . .</xs:documentation>
  8. </xs:annotation>
  9. </xs:attribute>
  10. <xs:attribute name="space" default="preserve">
  11. <xs:simpleType>
  12. <xs:restriction base="xs:NCName">
  13. <xs:enumeration value="default"/>
  14. <xs:enumeration value="preserve"/>
  15. </xs:restriction>
  16. </xs:simpleType>
  17. </xs:attribute>
  18. <xs:attribute name="base" type="xs:anyURI">
  19. <xs:annotation>
  20. <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
  21. information about this attribute.</xs:documentation>
  22. </xs:annotation>
  23. </xs:attribute>
  24. <xs:attributeGroup name="specialAttrs">
  25. <xs:attribute ref="xml:base"/>
  26. <xs:attribute ref="xml:lang"/>
  27. <xs:attribute ref="xml:space"/>
  28. </xs:attributeGroup>
  29. </xs:schema>