hot info

STRUCTURE XML

on Sabtu, 20 Juni 2009

STRUCTURE
The DTD is a series of declarations. Each declaration takes the form:

''

and contains one of four keywords. These are:

ELEMENT which defines a tag,

ATTRIBUTE which defines an attribute of an ELEMENT,

ENTITY which is used to define an ENTITY,

NOTATION which defines a data type.

The easiest way to understand the structure of a DTD is to look at a simplified one. Rather than create a novel structure, I'm going to use part of the DTD for the Business Letter. This is shown in Listing 3.1.

Listing 3.1: Partial DTD for the Business Letter


' ''
' ' ?, country?, code?)>'
''
''
''
''
''
''
' '
''
]>'

0 komentar:

Posting Komentar