📄 document-v11.dtd
字号:
<!-- =================================================================== Apache Documentation DTD (Version 1.1)PURPOSE: This DTD was developed to create a simple yet powerful document type for software documentation for use with the Apache projects. It is an XML-compliant DTD and it's maintained by the Apache XML project.TYPICAL INVOCATION: <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Vx.y//EN" "document-vxy.dtd"> where x := major version y := minor versionNOTES: Many of the design patterns used in this DTD were take from the W3C XML Specification DTD edited by Eve Maler <elm@arbortext.com>. Where possible, great care has been used to reuse HTML tag names to reduce learning efforts and to allow HTML editors to be used for complex authorings like tables and lists.EXTENSIBILITY: This DTD includes several empty placeholders that can be used to extend it. These placeholders are implemented with empty entities. Here is the list of those empty entities and what they are used for: - local.inline: this entity should contain extended definitions of elements that can be used 'inline', or directly inside the content. An example for this entity could be <!ENTITY % local.inline "|citation"> - local.blocks: this entity should contain extended definitions of elements that behave as 'blocks', thus can be visually rendered as areas on the canvas. An example for this entity could be: <!ENTITY % local.blocks "|poem"> - local.sections: this entity should contain extended definitions of elements that behave as 'sections', thus can be considered containers of block-level elements. An example for this entity could be: <!ENTITY % local.sections "|chapter"> - local.headers: this entity should contain extended definitions of elements that behave as parts of the document header. An example for this header could be: <!ENTITY % local.headers ", notes?"> - local.footers: this entity should contain extended definitions of elements that behave as parts of the document footer. An example for this header could be: <!ENTITY % local.footers ", annotations*"> AUTHORS: Stefano Mazzocchi <stefano@apache.org> Steven Noels <stevenn@outerthought.org>FIXME: - should "form" tags be included?CHANGE HISTORY:[Version 1.0] 19991121 Initial version. (SM) 19991123 Replaced "res" with more standard "strong" for emphasis. (SM) 19991124 Added "fork" element for window forking behavior. (SM) 19991124 Added "img-inline" element to separate from "img". (SM) 19991129 Removed "affiliation" from "author". (SM) 19991129 Made "author" empty and moved "name|email" as attributes. (SM) 19991215 Simplified table section. (SM) 19991215 Changed "img-block" in more friendly "figure". (SM) 20000125 Added the "icon" image. (SM) 20000126 Allowed "anchor" in all levels. (SM) 20000404 Removed the "role" attribute from common-xxx.att. (SM) 20000815 Allowed "code" inside "strong" and "em". (SM)[Version 1.1] 20011212 Used public identifiers for external entities. (SM) 20011212 Removed xlink attributes since not used. (SM) 20011212 Removed "connect" since not required at this level. (SM) 20011218 Added "warning" as a block level object. (SM) 20011218 Removed explicitly numbered sections ("s1|s2|s3|s4"). (SM) 20011218 Added "section" element. (SM) 20011218 Allowed "body" to have blocks without a section. (SM) 20011218 Removed "sl" since not really different from "ul". (SM) 20020214 Moved empty placeholder entity declarations up front (SNS) 20020214 Corrected content model of content.mix parameter entity (SNS)COPYRIGHT: Copyright (c) @year@ The Apache Software Foundation. Permission to copy in any form is granted provided this notice is included in all copies. Permission to redistribute is granted provided this file is distributed untouched in all its parts and included files.==================================================================== --><!-- =============================================================== --><!-- Common character entities (included from external file) --><!-- =============================================================== --><!ENTITY % ISOlat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "ISOlat1.pen">%ISOlat1;<!ENTITY % ISOpub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" "ISOpub.pen">%ISOpub;<!ENTITY % ISOtech PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" "ISOtech.pen">%ISOtech;<!ENTITY % ISOnum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ISOnum.pen">%ISOnum;<!ENTITY % ISOdia PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "ISOdia.pen">%ISOdia;<!-- =============================================================== --><!-- Useful entities for increased DTD readability --><!-- =============================================================== --><!ENTITY % text "#PCDATA"><!-- Entities referred to later on are defined up front --><!ENTITY % markup "strong|em|code|sub|sup"><!ENTITY % special-inline "br|img|icon"><!ENTITY % links "link|jump|fork"><!ENTITY % paragraphs "p|source|note|warning|fixme"><!ENTITY % tables "table"><!ENTITY % lists "ol|ul|dl"><!ENTITY % special-blocks "figure|anchor"><!-- =============================================================== --><!-- Entities for general XML compliance --><!-- =============================================================== --><!-- Common attributes Every element has an ID attribute (sometimes required, but usually optional) for links. %common.att; is for common attributes where the ID is optional, and %common-idreq.att; is for common attributes where the ID is required.--><!ENTITY % common.att 'id ID #IMPLIED xml:lang NMTOKEN #IMPLIED'><!ENTITY % common-idreq.att 'id ID #REQUIRED xml:lang NMTOKEN #IMPLIED'><!-- xml:space attribute =============================================== Indicates that the element contains white space that the formatter or other application should retain, as appropriate to its function.==================================================================== --><!ENTITY % xmlspace.att 'xml:space (default|preserve) #FIXED "preserve"'><!-- def attribute ===================================================== Points to the element where the relevant definition can be found, using the IDREF mechanism. %def.att; is for optional def attributes, and %def-req.att; is for required def attributes.==================================================================== --><!ENTITY % def.att 'def IDREF #IMPLIED'><!ENTITY % def-req.att 'def IDREF #REQUIRED'><!-- ref attribute ===================================================== Points to the element where more information can be found, using the IDREF mechanism. %ref.att; is for optional ref attributes, and %ref-req.att; is for required ref attributes.================================================================== --><!ENTITY % ref.att 'ref IDREF #IMPLIED'><!ENTITY % ref-req.att 'ref IDREF #REQUIRED'><!-- =============================================================== --><!-- Entities for general usage --><!-- =============================================================== --><!-- Key attribute ===================================================== Optionally provides a sorting or indexing key, for cases when the element content is inappropriate for this purpose.==================================================================== --><!ENTITY % key.att 'key CDATA #IMPLIED'><!-- Title attributes ================================================== Indicates that the element requires to have a title attribute.==================================================================== --><!ENTITY % title.att 'title CDATA #REQUIRED'><!-- Name attributes ================================================== Indicates that the element requires to have a name attribute.==================================================================== --><!ENTITY % name.att 'name CDATA #REQUIRED'><!-- Email attributes ================================================== Indicates that the element requires to have an email attribute.==================================================================== --><!ENTITY % email.att 'email CDATA #REQUIRED'><!-- Link attributes =================================================== Indicates that the element requires to have hyperlink attributes.==================================================================== --><!ENTITY % link.att 'href CDATA #IMPLIED role CDATA #IMPLIED title CDATA #IMPLIED '><!-- =============================================================== --><!-- General definitions --><!-- =============================================================== --><!-- A person is a general human entity --><!ELEMENT person EMPTY><!ATTLIST person %common.att; %name.att; %email.att;>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -