Basic HTML version of Foils prepared May 19 99

Foil 33 Attributes

From An Introduction to XML Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken,Ozgur Balsoy, Tom Scavo


1 The rules for attribute declarations follow a similar structure to elements. <!ATTLIST person gender (male|female)#IMPLIED >
  • ATTLIST is the type
  • person is the element
  • gender is the attribute declaration
  • (male|female)#IMPLIED is the attribute definition
2 The keywords following an attribute definition can be
  • #IMPLIED attribute is optional
  • "unknown" string in quotes is the default attribute
  • #REQUIRED attribute is required
  • #FIXED if attribute is present, it is assigned a fixed value

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 Wed May 19 1999