xml.xsd 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  3. <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
  4. <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
  5. <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  6. <xs:attribute name="id" type="xs:ID"/>
  7. <xs:attribute name="lang"/>
  8. <xs:attribute name="base" type="xs:anyURI"/>
  9. <xs:attributeGroup name="space">
  10. <xs:attribute name="space" use="required" form="qualified">
  11. <xs:simpleType>
  12. <xs:restriction base="xs:token">
  13. <xs:enumeration value="preserve">
  14. <xs:annotation>
  15. <xs:documentation>Whitespace must be preserved.</xs:documentation>
  16. </xs:annotation>
  17. </xs:enumeration>
  18. </xs:restriction>
  19. </xs:simpleType>
  20. </xs:attribute>
  21. </xs:attributeGroup>
  22. <xs:attributeGroup name="space1">
  23. <xs:attribute name="space" use="required" form="qualified">
  24. <xs:simpleType>
  25. <xs:restriction base="xs:token">
  26. <xs:enumeration value="preserve">
  27. <xs:annotation>
  28. <xs:documentation>Extra whitespace and line breaks must be preserved.</xs:documentation>
  29. </xs:annotation>
  30. </xs:enumeration>
  31. </xs:restriction>
  32. </xs:simpleType>
  33. </xs:attribute>
  34. </xs:attributeGroup>
  35. </xs:schema>