📄 spec.dtd
字号:
<!ELEMENT wfc EMPTY><!-- def attribute: Each well formedness tagline in a production must link to the wfcnote that defines it. --><!ATTLIST wfc %def-req.att; %common.att;><!-- vc: Should generate the head of the vcnote pointed to --><!ELEMENT vc EMPTY><!-- def attribute: Each validity tagline in a production must link to the vcnote that defines it. --><!ATTLIST vc %def-req.att; %common.att;><!--#1998-03-23: maler: Added xml:space attribute.--><!-- bnf: Un-marked-up production --><!ELEMENT bnf (%eg.pcd.mix;)*><!ATTLIST bnf %common.att; %xmlspace.att;><!--#1997-10-16: maler: Added table mechanism.#1997-11-28: maler: Added non-null system ID to entity declaration.# Added HTML table module.#1997-12-29: maler: IGNOREd SGML Open table model.#1998-03-10: maler: Removed SGML Open table model.# Merged html-tbl.mod file into main file.# Added %common.att; to all HTML table elements.--><!-- TR and TD attributes: Alignment attributes. No default. --><!ENTITY % trtd.att "align (left |center |right) #IMPLIED valign (top |middle |bottom) #IMPLIED"><!ELEMENT htable (htbody+)><!ATTLIST htable border CDATA "0" cellpadding CDATA "0" align (left |center |right) "left"><!ELEMENT htbody (tr+)><!ATTLIST htbody %common.att;><!ELEMENT tr (td+)><!ATTLIST tr %common.att; %trtd.att;><!ELEMENT td (%p.pcd.mix;)*><!ATTLIST td %common.att; %trtd.att; bgcolor CDATA #IMPLIED rowspan CDATA "1" colspan CDATA "1"><!-- ............................................................... --><!-- Phrase-level elements ......................................... --><!-- bibref: Should generate, in square brackets, "key" on bibl --><!ELEMENT bibref EMPTY><!-- ref attribute: A bibliography reference must link to the bibl element that describes the resource. --><!ATTLIST bibref %common.att; %ref-req.att;><!ELEMENT code (%tech.pcd.mix;)*><!ATTLIST code %common.att;><!--#1998-03-10: maler: Declared ednote and related elements.--><!ELEMENT ednote (name?, date?, edtext)><!ATTLIST ednote %common.att;><!ELEMENT date (#PCDATA)><!ATTLIST date %common.att;><!ELEMENT edtext (#PCDATA)><!ATTLIST edtext %common.att;><!ELEMENT emph (#PCDATA)><!ATTLIST emph %common.att;><!-- footnote: Both footnote content and call to footnote --><!ELEMENT footnote (%obj.mix;)+><!ATTLIST footnote %common.att;><!ELEMENT kw (%tech.pcd.mix;)*><!ATTLIST kw %common.att;><!ELEMENT loc (#PCDATA)><!-- HREF attribute: The purpose of a loc element is to function as a hypertext link to a resource. (Ideally, the content of loc will also mention the URI of the resource, so that readers of the printed version will be able to locate the resource.) --><!ATTLIST loc %common.att; %href-req.att;><!ELEMENT nt (#PCDATA)><!-- def attribute: The nonterminal must link to the production that defines it. --><!ATTLIST nt %common.att; %def-req.att;><!--#1998-03-10: maler: Declared quote.--><!-- quote: Scare quotes and other purely presentational quotes --><!ELEMENT quote (%p.pcd.mix;)*><!ATTLIST quote %common.att;><!-- specref: Should generate italic "[n.n], Section Title" for div, "n" for numbered item, or "[n]" for production --><!ELEMENT specref EMPTY><!-- ref attribute: The purpose of a specref element is to link to a div, item in an olist, or production in the current spec. --><!ATTLIST specref %common.att; %ref-req.att;><!ELEMENT term (#PCDATA)><!ATTLIST term %common.att;><!ELEMENT termdef (%termdef.pcd.mix;|%termdef.mix;)*><!-- ID attribute: A term definition must have an ID so that it can be linked to from termref elements. --><!-- term attribute: The canonical form of the term or phrase being defined must appear in this attribute, even if the term or phrase also appears in the element content in identical form (e.g., in the term element). --><!ATTLIST termdef %common-idreq.att; term CDATA #REQUIRED><!ELEMENT termref (#PCDATA)><!-- ref attribute: A term reference must link to the termdef element that defines the term. --><!ATTLIST termref %common.att; %def-req.att;><!ELEMENT titleref (#PCDATA)><!-- HREF attribute: A title reference can optionally function as a hypertext link to the resource with this title. --><!ATTLIST titleref %common.att; %href.att;><!ELEMENT xnt (#PCDATA)><!-- HREF attribute: The nonterminal must hyperlink to a resource that serves to define it (e.g., a production in a related XML specification). --><!ATTLIST xnt %common.att; %href-req.att;><!--#1997-12-29: maler: Declared xspecref.--><!ELEMENT xspecref (#PCDATA)><!-- HREF attribute: The spec reference must hyperlink to the resource to cross-refer to (e.g., a section in a related XML specification). --><!ATTLIST xspecref %common.att; %href-req.att;><!ELEMENT xtermref (#PCDATA)><!-- HREF attribute: The term reference must hyperlink to the resource that serves to define the term (e.g., a term definition in a related XML specification). --><!ATTLIST xtermref %common.att; %href-req.att;><!-- ............................................................... --><!-- Unused elements for ADEPT ..................................... --><!--#1997-09-30: maler: Added unusued elements.#1997-10-14: maler: Fixed div to move nested div to the mixture.--><!-- The following elements are purposely declared but never referenced. Declaring them allows them to be pasted from an HTML document into a document using this DTD in ADEPT. The ATD Context Transformation mechanism will try to convert them to the appropriate element for this DTD. While this conversion will not work for all fragments, it does allow many cases to work reasonably well. --><!ELEMENT div (head?, (%div.mix;|ul|ol|h1|h2|h3|h4|h5|h6|div)*)><!ELEMENT h1 (%head.pcd.mix;|em|a)*><!ELEMENT h2 (%head.pcd.mix;|em|a)*><!ELEMENT h3 (%head.pcd.mix;|em|a)*><!ELEMENT h4 (%head.pcd.mix;|em|a)*><!ELEMENT h5 (%head.pcd.mix;|em|a)*><!ELEMENT h6 (%head.pcd.mix;|em|a)*><!ELEMENT pre (%eg.pcd.mix;|em)*><!ELEMENT ul (item|li)*><!ELEMENT ol (item|li)*><!ELEMENT li (#PCDATA|%obj.mix;)*><!ELEMENT em (#PCDATA)><!ELEMENT a (#PCDATA)><!-- ............................................................... --><!-- Change history ................................................ --><!--#1997-08-18: maler#- Did a major revision.#1997-09-10: maler#- Updated FPI.#- Removed namekey element and put key attribute on name element.#- Made statusp element and supporting entities.#- Added slist element with sitem+ content.#- Required head on scrap and added new bnf subelement.#- Added an xnt element and allowed it and nt in regular text and rhs.#- Removed the ntref element.#- Added back the com element to the content of rhs.#- Added a key attribute to bibl.#- Removed the ident element.#- Added a term element to be used inside termdef.#- Added an xtermref element parallel to termref.#- Beefed up DTD comments.#1997-09-12: maler#- Allowed term element in general text.#- Changed bibref to EMPTY.#- Added ref.class to termdef.pcd.mix.#1997-09-14: maler#- Changed main attribute of xtermref from def to href.#- Added termdef.class to label contents.#1997-09-30: maler#- Added character entity module and added new entities.#- Removed p from appearing directly in self; created %p.mix;.#- Added inform-div (non-normative division) element.#- Fixed xtermref comment to mention HREF, not ref.#- Extended orglist model to allow optional affiliation.#- Modified author to make affiliation optional.#- Added %speclist.class; and %note.class; to %obj.mix; and %p.mix;.#- Added %note.class; and %illus.class; to %termdef.pcd.mix;.#- Added unused HTML elements.#- Put empty system ID next to public ID in entity declarations.#1997-10-14: maler#- Fixed "unused" div content model to move nested div to mixture.#1997-10-16: maler#- Added SGML Open Exchange tables.#1997-11-28: maler#- Added support for prodgroup and its attributes.#- Added support for HTML tables.#- Added loc and bibref to content of com.#- Added loc to general p content models.#- Allowed p as alternative to statusp in status.#- Added non-null system IDs to external parameter entity declarations.#- (Modified the SGML Open table module to make it XML-compliant.)#- (Modified the character entity module.)#1997-12-29: maler#- Moved #PCDATA occurrences to come before GIs in content models.#- Removed use of the SGML Open table module.#- Added xspecref element.#- Ensured that all FPIs contain 4-digit year.#- (Modified the character entity module.)#1997-03-10: maler#- Merged the character entity and table modules into the main file.#- Added ldquo and rdquo entities.#- Added common attributes to prodgroup.#- Made the email element in header optional.#- Removed reference to the SGML Open table model.#- Added ednote element.#- Added quote element.#- Updated XLink usage to reflect 3 March 1998 WD.#- Added "local" entities to the class entities for customization.#- Parameterized several content models to allow for customization.#1997-03-23: maler#- Cleaned up some comments and removed some others.#- Added xml:space semi-common attribute to eg and bnf elements.#- Added show and embed attributes on all the uses of href.#- Added %common.att; to all HTML table elements.#- Added a real URI to the "typical invocation" comment.#1998-05-23: brownell#- restore XLink usage to match XML spec#1998-07-10: brownell#- restore prevlocs ordering to match XML spec#1998-08-24: brownell#- add XML text declaration#- clarify history and usage; this isn't the W3C's current version.--><!-- ............................................................... --><!-- End of XML specification DTD .................................. --><!-- ............................................................... -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -