From: Christian S. <ch...@us...> - 2005-11-18 02:11:51
|
Update of /cvsroot/nmedit/website2/src/documentation/resources/schema/dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11971/src/documentation/resources/schema/dtd Added Files: DTDdocumentation-v10.dtd Log Message: new document type for writing DTD references --- NEW FILE: DTDdocumentation-v10.dtd --- <!-- This file is part of Nomad. Nomad is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Nomad is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Nomad; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --> <!-- =================================================================== DTD Doc format PURPOSE: This DTD provides simple extensions on the Apache DocumentV11 format to write a DTD reference. TYPICAL INVOCATION: <!DOCTYPE document PUBLIC "-//nmedit//DTD DTDdocumentation V1.0//EN" "DTDdocumentation-v10.dtd"> ==================================================================== --> <!-- =============================================================== --> <!-- Include the Common ISO Character Entity Sets --> <!-- =============================================================== --> <!ENTITY % common-charents PUBLIC "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN" "common-charents-v10.mod"> %common-charents; <!-- =============================================================== --> <!-- Document --> <!-- =============================================================== --> <!ENTITY % document PUBLIC "-//APACHE//ENTITIES Documentation V1.3//EN" "document-v13.mod"> <!-- Override this entity so that 'release' is allowed below 'section' --> <!ENTITY % local.sections "|dtd"> %document; <!ELEMENT dtd (entity*)> <!ATTLIST dtd title CDATA #REQUIRED show-top-level-elements (true|false) "true" show-element-list (true|false) "true"> <!ELEMENT entity (dtd-hint?,contains?,attribute*)> <!ATTLIST entity name CDATA #REQUIRED root (true|false) "false"> <!ELEMENT dtd-hint (%content.mix;)*> <!ELEMENT contains (#PCDATA|element)*> <!ELEMENT element EMPTY> <!ATTLIST element entity-name CDATA #REQUIRED> <!ELEMENT attribute (attribute-type,dtd-hint?)> <!ATTLIST attribute name CDATA #REQUIRED required (true|false) #IMPLIED default-value CDATA #IMPLIED implied (true|false) #IMPLIED implicit-value CDATA #IMPLIED> <!ELEMENT attribute-type (#PCDATA|option)*> <!ELEMENT option EMPTY> <!ATTLIST option value CDATA #REQUIRED> <!-- =============================================================== --> <!-- End of DTD --> <!-- =============================================================== --> |