Basic HTML version of Foils prepared August 1 99

Foil 20 DTD - Attribute List Cont.

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


Attribute types:
  • String type: CDATA
  • Tokenized type: ID, IDREF, IDREFS, ENTITY, ENTITIES
  • Enumerated type: attribute can take only one of a list of values provided in the declaration
Attribute defaults:
  • required - forces the attribute to appear in the element (no default value)
  • implied - the application supplies the default value
  • fixed - can have only one value (specified)
Declaration of `name' attribute for element `thing':
<!ATTLIST thing name CDATA #REQUIRED>



© 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