[asterisk-commits] eliel: branch group/appdocsxml r143607 - /team/group/appdocsxml/doc/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 19 10:02:04 CDT 2008


Author: eliel
Date: Fri Sep 19 10:02:03 2008
New Revision: 143607

URL: http://svn.digium.com/view/asterisk?view=rev&rev=143607
Log:
DTD definition of the XML for application/function documentation.


Added:
    team/group/appdocsxml/doc/appdocsxml.dtd   (with props)

Added: team/group/appdocsxml/doc/appdocsxml.dtd
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/doc/appdocsxml.dtd?view=auto&rev=143607
==============================================================================
--- team/group/appdocsxml/doc/appdocsxml.dtd (added)
+++ team/group/appdocsxml/doc/appdocsxml.dtd Fri Sep 19 10:02:03 2008
@@ -1,0 +1,50 @@
+  <!ELEMENT docs (application|function)* >
+
+  <!ELEMENT application (synopsis?,syntax?,description?)>
+  <!ATTLIST application name CDATA #REQUIRED>
+  <!ATTLIST application language CDATA #REQUIRED>
+
+  <!ELEMENT function (synopsis?,syntax?,description?)>
+  <!ATTLIST function name CDATA #REQUIRED>
+  <!ATTLIST function language CDATA #REQUIRED>  
+
+  <!ELEMENT synopsis (#PCDATA)>
+  
+  <!ELEMENT syntax (parameter*)>
+
+  <!ELEMENT description (para|note|warning|variablelist)*>
+
+  <!ELEMENT parameter (optionlist|argument|para|note|warning)*>
+  <!ATTLIST parameter name CDATA #REQUIRED>
+  <!ATTLIST parameter required (yes|no|true|false) "false">
+  <!ATTLIST parameter argsep CDATA ",">
+
+  <!ELEMENT optionlist (option+)>
+  <!ELEMENT option (argument|para|note|warning|variablelist)*>
+  <!ATTLIST option name CDATA #REQUIRED> 
+  <!ATTLIST option argsep CDATA ",">
+  <!ATTLIST option implies CDATA "">
+
+  <!ELEMENT argument (para|note|warning|variablelist)*>
+  <!ATTLIST argument name CDATA #REQUIRED>
+  <!ATTLIST argument multiple (yes|no|true|false) "false">
+  <!ATTLIST argument required (yes|no|true|false) "false">
+
+  <!ELEMENT para (#PCDATA|literal|emphasis|filename|directory|replaceable|variable)*>
+  <!ELEMENT literal (#PCDATA)>
+  <!ELEMENT emphasis (#PCDATA)>
+  <!ELEMENT filename (#PCDATA)>
+  <!ELEMENT replaceable (#PCDATA)>
+  <!ELEMENT directory (#PCDATA)>
+ 
+  <!ELEMENT note (para+)>
+  <!ELEMENT warning (para+)>
+ 
+  <!ELEMENT variablelist (variable+)>
+  <!ELEMENT variable (#PCDATA|value|para)*>
+  <!ATTLIST variable name CDATA #REQUIRED>
+  
+  <!ELEMENT value (#PCDATA)>
+  <!ATTLIST value name CDATA #REQUIRED>
+  <!ATTLIST value default CDATA "">
+

Propchange: team/group/appdocsxml/doc/appdocsxml.dtd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/group/appdocsxml/doc/appdocsxml.dtd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/group/appdocsxml/doc/appdocsxml.dtd
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list