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


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

in Table To:


© 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