📄 xmlspec.dtd
字号:
<!-- ............................................................... --><!-- XML specification DTD ......................................... --><!-- ............................................................... --><!--TYPICAL INVOCATION:# <!DOCTYPE spec PUBLIC# "-//W3C//DTD Specification::19980521//EN"# "http://www.w3.org/XML/1998/06/xmlspec-19980521.dtd">PURPOSE: This DTD was developed for use with the XML family of W3C specifications. It is an XML-compliant DTD based in part on the TEI Lite and Sweb DTDs.DEPENDENCIES: None.CHANGE HISTORY: The list of changes is at the end of the DTD. For all details, see the design report at:# <http://www.w3.org/XML/1998/06/xmlspec-report-19980521.htm> The "typical invocation" FPI always gets updated to reflect the date of the most recent changes. Search this file for "#" in the first column to see change history comments.MAINTAINER: Eve Maler ArborText Inc. elm@arbortext.com voice: +1 781 270 5750 fax: +1 781 273 3760--><!-- ............................................................... --><!-- Entities for characters and symbols ........................... --><!--#1998-03-10: maler: Added “ and ”.# Used 8879:1986-compatible decimal character# references.# Merged charent.mod file back into main file.#1998-05-14: maler: Fixed ldquo and rdquo. Gave mdash a real number.--><!ENTITY lt "&#60;"><!ENTITY gt ">"><!ENTITY amp "&#38;"><!ENTITY apos "'"><!ENTITY quot """><!ENTITY nbsp " "><!--<!ENTITY mdash "—"><!ENTITY ldquo "“"><!ENTITY rdquo "”">--><!-- ............................................................... --><!-- Entities for classes of standalone elements ................... --><!--#1997-10-16: maler: Added table to %illus.class;.#1997-11-28: maler: Added htable to %illus.class;.#1997-12-29: maler: IGNOREd table.#1998-03-10: maler: Removed SGML Open-specific %illus.class;.# Added "local" entities for customization.#1998-05-14: maler: Added issue to %note.class;.# Removed %[local.]statusp.class;.#1998-05-21: maler: Added constraintnote to %note.class;.--><!ENTITY % local.p.class ""><!ENTITY % p.class "p %local.p.class;"><!ENTITY % local.list.class ""><!ENTITY % list.class "ulist|olist|slist|glist %local.list.class;"><!ENTITY % local.speclist.class ""><!ENTITY % speclist.class "orglist|blist %local.speclist.class;"><!ENTITY % local.note.class ""><!ENTITY % note.class "note|issue|wfcnote|vcnote |constraintnote %local.note.class;"><!ENTITY % local.illus.class ""><!ENTITY % illus.class "eg|graphic|scrap|htable %local.illus.class;"><!-- ............................................................... --><!-- Entities for classes of phrase-level elements ................. --><!--#1997-12-29: maler: Added xspecref to %ref.class;.#1998-03-10: maler: Added %ednote.class;.# Added "local" entities for customization.--><!ENTITY % local.annot.class ""><!ENTITY % annot.class "footnote %local.annot.class;"><!ENTITY % local.termdef.class ""><!ENTITY % termdef.class "termdef|term %local.termdef.class;"><!ENTITY % local.emph.class ""><!ENTITY % emph.class "emph|quote %local.emph.class;"><!ENTITY % local.ref.class ""><!ENTITY % ref.class "bibref|specref|termref|titleref |xspecref|xtermref %local.ref.class;"><!ENTITY % local.loc.class ""><!ENTITY % loc.class "loc %local.loc.class;"><!ENTITY % local.tech.class ""><!ENTITY % tech.class "kw|nt|xnt|code %local.tech.class;"><!ENTITY % local.ednote.class ""><!ENTITY % ednote.class "ednote %local.ednote.class;"><!-- ............................................................... --><!-- Entities for mixtures of standalone elements .................. --><!--#1997-09-30: maler: Created %p.mix; to eliminate p from self.#1997-09-30: maler: Added %speclist.class; to %obj.mix; and %p.mix;.#1997-09-30: maler: Added %note.class; to %obj.mix; and %p.mix;.#1997-10-16: maler: Created %entry.mix;. Note that some elements# left out here are still allowed in termdef,# which entry can contain through %p.pcd.mix;.#1997-11-28: maler: Added %p.class; to %statusobj.mix;.#1998-03-10: maler: Added %ednote.class; to all mixtures, except# %p.mix; and %statusobj.mix;, because paragraphs# and status paragraphs will contain ednote# through %p.pcd.mix;.#1998-03-23: maler: Added %termdef.mix; (broken out from# %termdef.pcd.mix;).#1998-05-14: maler: Removed %statusobj.mix; and all mentions of# %statusp.mix;.--><!ENTITY % div.mix "%p.class;|%list.class;|%speclist.class;|%note.class; |%illus.class;|%ednote.class;"><!ENTITY % obj.mix "%p.class;|%list.class;|%speclist.class;|%note.class; |%illus.class;|%ednote.class;"><!ENTITY % p.mix "%list.class;|%speclist.class;|%note.class;|%illus.class;"><!ENTITY % entry.mix "%list.class;|note|eg|graphic|%ednote.class;"><!ENTITY % hdr.mix "%p.class;|%list.class;|%ednote.class;"><!ENTITY % termdef.mix "%note.class;|%illus.class;"><!-- ............................................................... --><!-- Entities for mixtures of #PCDATA and phrase-level elements .... --><!-- Note that %termdef.pcd.mix contains %note.class; and %illus.class;, considered standalone elements. --><!--#1997-09-30: maler: Added scrap and %note.class; to %termdef.pcd.mix;.#1997-11-28: maler: Added %loc.class; to %p.pcd.mix;.#1998-03-10: maler: Added %ednote.class; to all mixtures.#1998-03-23: maler: Moved some %termdef.pcd.mix; stuff out to# %termdef.mix;.#1998-05-14: maler: Removed %statusp.pcd.mix;.#1998-05-21: maler: Added constraint element to %eg.pcd.mix;.--><!ENTITY % p.pcd.mix "#PCDATA|%annot.class;|%termdef.class;|%emph.class; |%ref.class;|%tech.class;|%loc.class;|%ednote.class;"><!ENTITY % head.pcd.mix "#PCDATA|%annot.class;|%emph.class;|%tech.class;|%ednote.class;"><!ENTITY % label.pcd.mix "#PCDATA|%annot.class;|%termdef.class;|%emph.class;|%tech.class; |%ednote.class;"><!ENTITY % eg.pcd.mix "#PCDATA|%annot.class;|%emph.class;|%ednote.class;|constraint"><!ENTITY % termdef.pcd.mix "#PCDATA|term|%emph.class;|%ref.class;|%tech.class; |%ednote.class;"><!ENTITY % bibl.pcd.mix "#PCDATA|%emph.class;|%ref.class;|%loc.class;|%ednote.class;"><!ENTITY % tech.pcd.mix "#PCDATA|%ednote.class;"><!ENTITY % loc.pcd.mix "#PCDATA|%loc.class;|%ednote.class;"><!-- ............................................................... --><!-- Entities for customizable content models ...................... --><!--#1998-03-10: maler: Added customization entities.#1998-05-14: maler: Allowed prevlocs and latestloc in either order.--><!ENTITY % spec.mdl "header, front?, body, back?"><!ENTITY % header.mdl "title, subtitle?, version, w3c-designation, w3c-doctype, pubdate, notice*, publoc, ((prevlocs, latestloc?) | (latestloc, prevlocs?))?, authlist, status, abstract, pubstmt?, sourcedesc?, langusage, revisiondesc"><!ENTITY % pubdate.mdl "day?, month, year"><!-- ............................................................... --><!-- Entities for common attributes ................................ --><!-- 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'><!-- 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'><!--#1998-03-23: maler: Added show and actuate attributes to href.# Added semi-common xml:space attribute.--><!-- HREF and source attributes: Points to the element where more information or source data can be found, using the URL (XLL simple link) mechanism. For some purposes, is associated with additional XLL attributes. %href.att; is for optional HREF attributes, and %href-req.att; is for required HREF attributes. %source-req.att; is for the source attribute, which is always required. --><!ENTITY % href.att 'xml:link CDATA #FIXED "simple" href CDATA #IMPLIED show CDATA #FIXED "embed" actuate CDATA #FIXED "auto"'><!ENTITY % href-req.att 'xml:link CDATA #FIXED "simple" href CDATA #REQUIRED show CDATA #FIXED "embed" actuate CDATA #FIXED "auto"'><!ENTITY % source-req.att 'xml:link CDATA #FIXED "simple" xml:attributes NMTOKENS #FIXED "href source" source CDATA #REQUIRED show CDATA #FIXED "embed" actuate CDATA #FIXED "auto"'><!-- 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"'><!-- Common attributes: Every element has an ID attribute (sometimes required, but usually optional) for links, and a Role attribute for extending the useful life of the DTD by allowing authors to make subclasses for any element. %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 role NMTOKEN #IMPLIED'><!ENTITY % common-idreq.att 'id ID #REQUIRED role NMTOKEN #IMPLIED'><!-- ............................................................... --><!-- Common elements ............................................... --><!-- head: Title on divisions, productions, and the like --><!ELEMENT head (%head.pcd.mix;)*><!ATTLIST head %common.att;><!-- ............................................................... --><!-- Major specification structure ................................. --><!--#1998-03-10: maler: Made spec content model easily customizable.--><!ELEMENT spec (%spec.mdl;)><!ATTLIST spec %common.att;><!ELEMENT front (div1+)><!ATTLIST front %common.att;><!ELEMENT body (div1+)><!ATTLIST body %common.att;><!--#1997-09-30: maler: Added inform-div1 to back content.--><!ELEMENT back ((div1+, inform-div1*) | inform-div1+)><!ATTLIST back %common.att;><!ELEMENT div1 (head, (%div.mix;)*, div2*)><!ATTLIST div1 %common.att;><!--#1997-09-30: maler: Added inform-div1 declarations.--><!-- inform-div1: Non-normative division in back matter --><!ELEMENT inform-div1 (head, (%div.mix;)*, div2*)><!ATTLIST inform-div1 %common.att;><!ELEMENT div2 (head, (%div.mix;)*, div3*)><!ATTLIST div2 %common.att;><!ELEMENT div3 (head, (%div.mix;)*, div4*)><!ATTLIST div3 %common.att;><!ELEMENT div4 (head, (%div.mix;)*)><!ATTLIST div4 %common.att;><!-- Specification header .......... --><!--#1998-03-10: maler: Made header content model easily customizable.--><!ELEMENT header (%header.mdl;)><!ATTLIST header %common.att;>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -