appdocsxml.dtd 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <!ELEMENT docs (application|function|agi|manager|managerEvent|info|configInfo)*>
  2. <!ATTLIST docs xmlns:xi CDATA #FIXED "http://www.w3.org/2001/XInclude">
  3. <!ELEMENT xi:include (xi:fallback?) >
  4. <!ATTLIST xi:include
  5. xmlns:xi CDATA #FIXED "http://www.w3.org/2001/XInclude"
  6. href CDATA #IMPLIED
  7. parse (xml|text) "xml"
  8. xpointer CDATA #IMPLIED
  9. encoding CDATA #IMPLIED
  10. accept CDATA #IMPLIED
  11. accept-language CDATA #IMPLIED >
  12. <!ELEMENT application (synopsis?,syntax?,description?,see-also?)>
  13. <!ATTLIST application name CDATA #REQUIRED>
  14. <!ATTLIST application language CDATA #REQUIRED>
  15. <!ATTLIST application module CDATA #IMPLIED>
  16. <!ELEMENT function (synopsis?,syntax?,description?,see-also?)>
  17. <!ATTLIST function name CDATA #REQUIRED>
  18. <!ATTLIST function language CDATA #REQUIRED>
  19. <!ATTLIST function module CDATA #IMPLIED>
  20. <!ELEMENT agi (synopsis?,syntax?,description?,see-also?)>
  21. <!ATTLIST agi name CDATA #REQUIRED>
  22. <!ATTLIST agi language CDATA #REQUIRED>
  23. <!ATTLIST agi module CDATA #IMPLIED>
  24. <!ELEMENT manager (synopsis?,syntax?,description?,see-also?,responses?)>
  25. <!ATTLIST manager name CDATA #REQUIRED>
  26. <!ATTLIST manager language CDATA #REQUIRED>
  27. <!ATTLIST manager module CDATA #IMPLIED>
  28. <!ELEMENT responses (list-elements?,(managerEvent|xi:include))>
  29. <!ELEMENT list-elements (managerEvent+|xi:include+)>
  30. <!ELEMENT managerEvent (managerEventInstance+)>
  31. <!ATTLIST managerEvent name CDATA #REQUIRED>
  32. <!ATTLIST managerEvent language CDATA #REQUIRED>
  33. <!ATTLIST managerEvent module CDATA #IMPLIED>
  34. <!ELEMENT managerEventInstance (synopsis?,syntax?,description?,see-also?)*>
  35. <!ATTLIST managerEventInstance class CDATA #REQUIRED>
  36. <!ELEMENT configInfo (synopsis?,description?,configFile+)>
  37. <!ATTLIST configInfo name CDATA #REQUIRED>
  38. <!ATTLIST configInfo language CDATA #REQUIRED>
  39. <!ELEMENT configFile (configObject+)>
  40. <!ATTLIST configFile name CDATA #REQUIRED>
  41. <!ELEMENT configObject (synopsis?|description?|syntax?|see-also?|configOption)*>
  42. <!ATTLIST configObject name CDATA #REQUIRED>
  43. <!ELEMENT configOption (synopsis,description?,syntax?,see-also?)*>
  44. <!ATTLIST configOption name CDATA #REQUIRED>
  45. <!ATTLIST configOption regex (yes|no|true|false) "false">
  46. <!ATTLIST configOption default CDATA #IMPLIED>
  47. <!ATTLIST configOption type CDATA #IMPLIED>
  48. <!ELEMENT matchInfo (category|field?)>
  49. <!ELEMENT category (#PCDATA)>
  50. <!ATTLIST category match (yes|no|true|false) #REQUIRED>
  51. <!ELEMENT field (#PCDATA)>
  52. <!ATTLIST field name CDATA #REQUIRED>
  53. <!ELEMENT info (para|example|note|warning|variablelist|enumlist|info|xi:include)*>
  54. <!ATTLIST info name CDATA #REQUIRED>
  55. <!ATTLIST info language CDATA #REQUIRED>
  56. <!ATTLIST info tech CDATA #REQUIRED>
  57. <!ELEMENT see-also (ref|xi:include)*>
  58. <!ELEMENT ref (#PCDATA)>
  59. <!ATTLIST ref type (application|function|astcli|link|manpage|filename|agi|manager|managerEvent|configOption) #REQUIRED>
  60. <!ATTLIST ref module CDATA #IMPLIED>
  61. <!ELEMENT synopsis (#PCDATA)>
  62. <!ELEMENT syntax (parameter|dataType|category|matchInfo|xi:include|channel_snapshot|bridge_snapshot)*>
  63. <!ATTLIST syntax argsep CDATA ",">
  64. <!ELEMENT channel_snapshot (#PCDATA)>
  65. <!ATTLIST channel_snapshot prefix CDATA "">
  66. <!ELEMENT bridge_snapshot (#PCDATA)>
  67. <!ATTLIST bridge_snapshot prefix CDATA "">
  68. <!ELEMENT configOptionToEnum (configOption|xi:include)*>
  69. <!ATTLIST configOptionToEnum prefix CDATA "">
  70. <!ELEMENT description (para|note|warning|variablelist|enumlist|info|example|xi:include)*>
  71. <!ELEMENT parameter (optionlist|enumlist|argument|para|note|warning|parameter|info|xi:include)*>
  72. <!ATTLIST parameter name CDATA "">
  73. <!ATTLIST parameter required (yes|no|true|false) "false">
  74. <!ATTLIST parameter multiple (yes|no|true|false) "false">
  75. <!ATTLIST parameter hasparams (yes|no|true|false|optional) "false">
  76. <!ATTLIST parameter literal (yes|no|true|false) "false">
  77. <!ATTLIST parameter default CDATA "">
  78. <!ATTLIST parameter argsep CDATA ",">
  79. <!ELEMENT optionlist (option+)>
  80. <!ELEMENT option (argument|para|note|warning|variablelist|enumlist|info|xi:include)*>
  81. <!ATTLIST option name CDATA #REQUIRED>
  82. <!ATTLIST option argsep CDATA ",">
  83. <!ATTLIST option implies CDATA "">
  84. <!ATTLIST option hasparams CDATA "">
  85. <!ELEMENT enumlist (configOptionToEnum|enum+)>
  86. <!ELEMENT enum (para|note|warning|parameter|enumlist|info|xi:include)*>
  87. <!ATTLIST enum name CDATA "">
  88. <!ELEMENT argument (para|note|warning|variablelist|argument|info|xi:include)*>
  89. <!ATTLIST argument name CDATA #REQUIRED>
  90. <!ATTLIST argument multiple (yes|no|true|false) "false">
  91. <!ATTLIST argument required (yes|no|true|false) "false">
  92. <!ATTLIST argument hasparams (yes|no|true|false|optional) "false">
  93. <!ATTLIST argument argsep CDATA ",">
  94. <!ELEMENT para (#PCDATA|astcli|literal|emphasis|filename|directory|replaceable|variable|xi:include)*>
  95. <!ELEMENT literal (#PCDATA)>
  96. <!ELEMENT emphasis (#PCDATA)>
  97. <!ELEMENT filename (#PCDATA)>
  98. <!ELEMENT replaceable (#PCDATA)>
  99. <!ELEMENT directory (#PCDATA)>
  100. <!ELEMENT astcli (#PCDATA)>
  101. <!ELEMENT example (#PCDATA|xi:include)*>
  102. <!ATTLIST example title CDATA "">
  103. <!ATTLIST example language CDATA "" >
  104. <!ELEMENT note (para+|xi:include*)>
  105. <!ELEMENT warning (para+|xi:include*)>
  106. <!ELEMENT variablelist (variable+|xi:include*)>
  107. <!ELEMENT variable (#PCDATA|value|para|info|xi:include)*>
  108. <!ATTLIST variable name CDATA "">
  109. <!ELEMENT value (#PCDATA)>
  110. <!ATTLIST value name CDATA #REQUIRED>
  111. <!ATTLIST value default CDATA "">