DTD : ENTITY ELEMENT ATTLIST
[Definition: A markup declaration is an element type declaration, an attribute-list declaration, an entity declaration, or a notation declaration.] These declarations MAY be contained in whole or in part within parameter entities, as described in the well-formedness and validity constraints below. For further information, see 4 Physical Structures.
element
attlist
entity
notation
实体是一种名称/值对,而元素是有DTD定义的实体的标记标签。DTD同时也在语言中为每个标签描述内容与语法。
条件段:conditional section
[1]注释<!-- -->
[2]实体(Entity):
1)parsed
2)unparsed
or
1)通用实体 用于XML <!ENTITY name value>
2)参数实体 用于XML DTD <!ENTITY % name value>
e.g
<!ENTITY % HTMLlat1 PUBLIC
"-//W3C//ENTITIES Latin1//EN//HTML"
"HTMLlat1.ent">
%HTMLlat1;<!-- 通用实体都作为定义成语言的一部分 -->
+ 出现一次或多次
* 不出现or出现多次
? 可以不出现or出现一次
大小写敏感
[3]元素
[4]元素属性
#PCCDATA
可进行解析的字符数据
[Definition: A markup declaration is an element type declaration, an attribute-list declaration, an entity declaration, or a notation declaration.] These declarations MAY be contained in whole or in part within parameter entities, as described in the well-formedness and validity constraints below. For further information, see 4 Physical Structures.
element
attlist
entity
notation
实体是一种名称/值对,而元素是有DTD定义的实体的标记标签。DTD同时也在语言中为每个标签描述内容与语法。
条件段:conditional section
[1]注释<!-- -->
[2]实体(Entity):
1)parsed
2)unparsed
or
1)通用实体 用于XML <!ENTITY name value>
2)参数实体 用于XML DTD <!ENTITY % name value>
e.g
<!ENTITY % HTMLlat1 PUBLIC
"-//W3C//ENTITIES Latin1//EN//HTML"
"HTMLlat1.ent">
%HTMLlat1;<!-- 通用实体都作为定义成语言的一部分 -->
+ 出现一次或多次
* 不出现or出现多次
? 可以不出现or出现一次
大小写敏感
[3]元素
[4]元素属性
#PCCDATA
可进行解析的字符数据