Basic HTML version of Foils prepared August 1 99

Foil 18 DTD - Element Declaration

From Advanced XML and its applications CPS714 Computational Science Information Track -- July 7 99. by Lukasz Beca


Element declaration indicates the element's type and its content
The content:
  • element content - only other elements
  • mixed content - other elements and character data
  • `EMPTY' content - element is empty
  • `ANY' content
Example:
<!ELEMENT thing (#PCDATA|container)>
<!ELEMENT container (#PCDATA,(thing)*)>
where PCDATA stands for parsed character data



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Aug 1 1999