Basic HTML version of Foils prepared August 1 99

Foil 22 DTD - Entity Declaration

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


Location of data
  • internal entities
  • <!ENTITY entityname "replacement text">
  • external entities: parsed and uparsed
  • <!ENTITY entityname SYSTEM "URI">
Parsed entities - external files that contain XML, can be inserted in the document
Unparsed entities - mostly binary files, can be used only as attribute values on elements with ENTITY attributes
<!ENTITY picture SYSTEM "mypicture.gif" NDATA gif>



© 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