📄 xmlspec.dtd
字号:
<!-- Example of title: "Extensible Cheese Language (XCL)" --><!ELEMENT title (#PCDATA)><!ATTLIST title %common.att;><!-- Example of subtitle: "A Cheesy Specification" --><!ELEMENT subtitle (#PCDATA)><!ATTLIST subtitle %common.att;><!-- Example of version: "Version 666.0" --><!ELEMENT version (#PCDATA)><!ATTLIST version %common.att;><!-- Example of w3c-designation: "WD-xcl-19991231" --><!ELEMENT w3c-designation (#PCDATA)><!ATTLIST w3c-designation %common.att;><!-- Example of w3c-doctype: "World Wide Web Consortium Working Draft" --><!ELEMENT w3c-doctype (#PCDATA)><!ATTLIST w3c-doctype %common.att;><!--#1998-03-10: maler: Made pubdate content model easily customizable.--><!ELEMENT pubdate (%pubdate.mdl;)><!ATTLIST pubdate %common.att;><!ELEMENT day (#PCDATA)><!ATTLIST day %common.att;><!ELEMENT month (#PCDATA)><!ATTLIST month %common.att;><!ELEMENT year (#PCDATA)><!ATTLIST year %common.att;><!-- Example of notice: "This draft is for public comment..." --><!ELEMENT notice (%hdr.mix;)+><!ATTLIST notice %common.att;><!ELEMENT publoc (loc+)><!ATTLIST publoc %common.att;><!ELEMENT prevlocs (loc+)><!ATTLIST prevlocs %common.att;><!ELEMENT latestloc (loc+)><!ATTLIST latestloc %common.att;><!-- loc (defined in "Phrase-level elements" below) --><!ELEMENT authlist (author+)><!ATTLIST authlist %common.att;><!--#1997-09-30: maler: Made affiliation optional.#1998-03-10: maler: Made email optional.--><!ELEMENT author (name, affiliation?, email?)><!ATTLIST author %common.att;><!ELEMENT name (#PCDATA)><!ATTLIST name %common.att; %key.att;><!ELEMENT affiliation (#PCDATA)><!ATTLIST affiliation %common.att;><!ELEMENT email (#PCDATA)><!-- HREF attribute: email functions as a hypertext reference through this required attribute. Typically the reference would use the mailto: scheme. --><!ATTLIST email %common.att; %href-req.att;><!--#1998-05-15: maler: Changed status content from %statusobj.mix;# to plain %obj.mix;. statusp is obsolete.--><!ELEMENT status (%obj.mix;)+><!ATTLIST status %common.att;><!ELEMENT abstract (%hdr.mix;)*><!ATTLIST abstract %common.att;><!ELEMENT pubstmt (%hdr.mix;)+><!ATTLIST pubstmt %common.att;><!ELEMENT sourcedesc (%hdr.mix;)+><!ATTLIST sourcedesc %common.att;><!ELEMENT langusage (language+)><!ATTLIST langusage %common.att;><!ELEMENT language (#PCDATA)><!ATTLIST language %common.att;><!ELEMENT revisiondesc (%hdr.mix;)+><!ATTLIST revisiondesc %common.att;><!-- ............................................................... --><!-- Standalone elements ........................................... --><!-- Paragraphs .................... --><!--#1997-09-30: maler: Changed from %obj.mix; to %p.mix;.#1997-12-29: maler: Changed order of %p.mix; and %p.pcd.mix;# references.#1997-12-29: maler: Changed order of %statusobj.mix; and# %statusp.pcd.mix; references.#1998-05-14: maler: Removed statusp declarations.--><!ELEMENT p (%p.pcd.mix;|%p.mix;)*><!ATTLIST p %common.att;><!-- Lists ......................... --><!ELEMENT ulist (item+)><!-- spacing attribute: Use "normal" to get normal vertical spacing for items; use "compact" to get less spacing. The default is dependent on the stylesheet. --><!ATTLIST ulist %common.att; spacing (normal|compact) #IMPLIED><!ELEMENT olist (item+)><!-- spacing attribute: Use "normal" to get normal vertical spacing for items; use "compact" to get less spacing. The default is dependent on the stylesheet. --><!ATTLIST olist %common.att; spacing (normal|compact) #IMPLIED><!ELEMENT item (%obj.mix;)+><!ATTLIST item %common.att;><!ELEMENT slist (sitem+)><!ATTLIST slist %common.att;><!ELEMENT sitem (%p.pcd.mix;)*><!ATTLIST sitem %common.att;><!ELEMENT glist (gitem+)><!ATTLIST glist %common.att;><!ELEMENT gitem (label, def)><!ATTLIST gitem %common.att;><!ELEMENT label (%label.pcd.mix;)*><!ATTLIST label %common.att;><!ELEMENT def (%obj.mix;)*><!ATTLIST def %common.att;><!-- Special lists ................. --><!ELEMENT blist (bibl+)><!ATTLIST blist %common.att;><!ELEMENT bibl (%bibl.pcd.mix;)*><!-- HREF attribute: bibl optionally functions as a hypertext reference to the referred-to resource through this attribute. --><!ATTLIST bibl %common.att; %href.att; %key.att;><!ELEMENT orglist (member+)><!ATTLIST orglist %common.att;><!--#1997-09-30: maler: Added optional affiliation.--><!ELEMENT member (name, affiliation?, role?)><!ATTLIST member %common.att;><!-- name (defined in "Specification header" above) --><!-- affiliation (defined in "Specification header" above) --><!ELEMENT role (#PCDATA)><!ATTLIST role %common.att;><!-- Notes ......................... --><!ELEMENT note (%obj.mix;)+><!ATTLIST note %common.att;><!--#1998-05-14: maler: Declared issue element.--><!ELEMENT issue (%obj.mix;)+><!ATTLIST issue %common-idreq.att;><!ELEMENT wfcnote (head, (%obj.mix;)+)><!-- ID attribute: wfcnote must have an ID so that it can be pointed to from a wfc element in a production. --><!ATTLIST wfcnote %common-idreq.att;><!ELEMENT vcnote (head, (%obj.mix;)+)><!-- ID attribute: vcnote must have an ID so that it can be pointed to from a vc element in a production. --><!ATTLIST vcnote %common-idreq.att;><!--#1998-05-21: maler: Declared generic constraintnote element.--><!ELEMENT constraintnote (head, (%obj.mix;)+)><!-- ID attribute: cnote must have an ID so that it can be pointed to from a constraint element in a production. --><!-- type attribute: cnote must have a type value keyword so that it can be correctly characterized in the specification. --><!ATTLIST constraintnote %common-idreq.att; type NMTOKEN #REQUIRED><!-- Illustrations ................. --><!--#1998-03-23: maler: Added xml:space attribute.--><!ELEMENT eg (%eg.pcd.mix;)*><!ATTLIST eg %common.att; %xmlspace.att;><!ELEMENT graphic EMPTY><!-- source attribute: The graphic data must reside at the location pointed to. This is a hypertext reference, but for practical purposes, for now it should just be a pathname. --><!ATTLIST graphic %common.att; %source-req.att; alt CDATA #IMPLIED><!--#1997-11-28: maler: Added prodgroup to scrap and defined it.#1998-05-21: maler: Added constraint to prod.--><!ELEMENT scrap (head, (prodgroup+ | prod+ | bnf))><!-- lang attribute: The scrap can link to a description of the language used, found in a language element in the header. --><!ATTLIST scrap %common.att; lang IDREF #IMPLIED><!ELEMENT prodgroup (prod+)><!-- pcw<n> attributes: Presentational attributes to control the width of the "pseudo-table" columns used to output groups of productions. --><!ATTLIST prodgroup %common.att; pcw1 CDATA #IMPLIED pcw2 CDATA #IMPLIED pcw3 CDATA #IMPLIED pcw4 CDATA #IMPLIED pcw5 CDATA #IMPLIED><!ELEMENT prod (lhs, (rhs, (com|wfc|vc|constraint)*)+)><!-- ID attribute: The production must have an ID so that cross-references (specref) and mentions of nonterminals (nt) can link to it. --><!ATTLIST prod %common-idreq.att;><!ELEMENT lhs (#PCDATA)><!ATTLIST lhs %common.att;><!ELEMENT rhs (#PCDATA|nt|xnt|com)*><!ATTLIST rhs %common.att;><!-- nt and xnt (defined in "Phrase-level elements" below) --><!--#1997-11-28: maler: Added loc and bibref to com content.--><!ELEMENT com (#PCDATA|loc|bibref)*><!ATTLIST com %common.att;><!-- wfc: Should generate the head of the wfcnote pointed to --><!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-05-21: maler: Declared generic constraint element.--><!-- constraint: Should generate the head of the constraintnote pointed to --><!ELEMENT constraint EMPTY><!-- def attribute: Each constraint tagline in a production must link to the constraint note that defines it. --><!ATTLIST constraint %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.#1998-05-14: maler: Replaced table model with full HTML 4.0 model.# Removed htable in favor of table.# Removed htbody in favor of tbody.--><!ENTITY % cellhalign.att 'align (left|center |right|justify |char) #IMPLIED char CDATA #IMPLIED charoff CDATA #IMPLIED'>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -