xlink.xsd 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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/1999/xlink" 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/XML/1998/namespace" schemaLocation="xml.xsd"/>
  6. <xs:attribute name="href" type="xs:anyURI"/>
  7. <xs:attributeGroup name="type">
  8. <xs:attribute name="type" use="required" form="qualified">
  9. <xs:simpleType>
  10. <xs:restriction base="xs:token">
  11. <xs:enumeration value="simple">
  12. <xs:annotation>
  13. <xs:documentation>An XLink simple link</xs:documentation>
  14. </xs:annotation>
  15. </xs:enumeration>
  16. </xs:restriction>
  17. </xs:simpleType>
  18. </xs:attribute>
  19. </xs:attributeGroup>
  20. <xs:attribute name="role" type="xs:anyURI"/>
  21. <xs:attribute name="arcrole" type="xs:anyURI"/>
  22. <xs:attribute name="title"/>
  23. <xs:attribute name="show" type="db:db.xlink.show.enumeration"/>
  24. <xs:attribute name="actuate" type="db:db.xlink.actuate.enumeration"/>
  25. <xs:attribute name="from" type="xs:NMTOKEN"/>
  26. <xs:attribute name="label" type="xs:NMTOKEN"/>
  27. <xs:attribute name="to" type="xs:NMTOKEN"/>
  28. <xs:attributeGroup name="type1">
  29. <xs:attribute name="type" use="required" form="qualified">
  30. <xs:simpleType>
  31. <xs:restriction base="xs:token">
  32. <xs:enumeration value="extended">
  33. <xs:annotation>
  34. <xs:documentation>An XLink extended link</xs:documentation>
  35. </xs:annotation>
  36. </xs:enumeration>
  37. </xs:restriction>
  38. </xs:simpleType>
  39. </xs:attribute>
  40. </xs:attributeGroup>
  41. <xs:attributeGroup name="type2">
  42. <xs:attribute name="type" use="required" form="qualified">
  43. <xs:simpleType>
  44. <xs:restriction base="xs:token">
  45. <xs:enumeration value="locator">
  46. <xs:annotation>
  47. <xs:documentation>An XLink locator link</xs:documentation>
  48. </xs:annotation>
  49. </xs:enumeration>
  50. </xs:restriction>
  51. </xs:simpleType>
  52. </xs:attribute>
  53. </xs:attributeGroup>
  54. <xs:attributeGroup name="type3">
  55. <xs:attribute name="type" use="required" form="qualified">
  56. <xs:simpleType>
  57. <xs:restriction base="xs:token">
  58. <xs:enumeration value="arc">
  59. <xs:annotation>
  60. <xs:documentation>An XLink arc link</xs:documentation>
  61. </xs:annotation>
  62. </xs:enumeration>
  63. </xs:restriction>
  64. </xs:simpleType>
  65. </xs:attribute>
  66. </xs:attributeGroup>
  67. </xs:schema>