resource-lists.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns="urn:ietf:params:xml:ns:resource-lists" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ietf:params:xml:ns:resource-lists" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  4. <xs:complexType name="listType">
  5. <xs:sequence>
  6. <xs:element name="display-name" type="display-nameType" minOccurs="0"/>
  7. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  8. <xs:choice>
  9. <xs:element name="list">
  10. <xs:complexType>
  11. <xs:complexContent>
  12. <xs:extension base="listType"/>
  13. </xs:complexContent>
  14. </xs:complexType>
  15. </xs:element>
  16. <xs:element name="external" type="externalType"/>
  17. <xs:element name="entry" type="entryType"/>
  18. <xs:element name="entry-ref" type="entry-refType"/>
  19. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  20. </xs:choice>
  21. </xs:sequence>
  22. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  23. </xs:sequence>
  24. <xs:attribute name="name" type="xs:string" use="optional"/>
  25. <xs:anyAttribute namespace="##other"/>
  26. </xs:complexType>
  27. <xs:complexType name="entryType">
  28. <xs:sequence>
  29. <xs:element name="display-name" minOccurs="0">
  30. <xs:complexType>
  31. <xs:simpleContent>
  32. <xs:extension base="display-nameType"/>
  33. </xs:simpleContent>
  34. </xs:complexType>
  35. </xs:element>
  36. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  37. </xs:sequence>
  38. <xs:attribute name="uri" type="xs:anyURI" use="required"/>
  39. <xs:anyAttribute namespace="##other"/>
  40. </xs:complexType>
  41. <xs:complexType name="entry-refType">
  42. <xs:sequence>
  43. <xs:element name="display-name" type="display-nameType" minOccurs="0"/>
  44. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  45. </xs:sequence>
  46. <xs:attribute name="ref" type="xs:anyURI" use="required"/>
  47. <xs:anyAttribute namespace="##other"/>
  48. </xs:complexType>
  49. <xs:complexType name="externalType">
  50. <xs:sequence>
  51. <xs:element name="display-name" type="display-nameType" minOccurs="0"/>
  52. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  53. </xs:sequence>
  54. <xs:attribute name="anchor" type="xs:anyURI"/>
  55. <xs:anyAttribute namespace="##other"/>
  56. </xs:complexType>
  57. <xs:element name="resource-lists">
  58. <xs:complexType>
  59. <xs:sequence maxOccurs="unbounded">
  60. <xs:element name="list" type="listType"/>
  61. </xs:sequence>
  62. </xs:complexType>
  63. </xs:element>
  64. <xs:complexType name="display-nameType">
  65. <xs:simpleContent>
  66. <xs:extension base="xs:string">
  67. <xs:attribute ref="xml:lang"/>
  68. </xs:extension>
  69. </xs:simpleContent>
  70. </xs:complexType>
  71. </xs:schema>