Basic HTML version of Foils prepared August 1 99

Foil 16 Document Type Definition

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


External DTD
<?xml version="1.0"?>
<!DOCTYPE greeting SYSTEM "hello.dtd">
<greeting>Hello</greeting>
Internal DTD
<?xml version="1.0"?>
<!DOCTYPE greeting [
<!ELEMENT greeting (#PCDATA)>
]>
<greeting>Hello</greeting>
Standalone Document Declaration section can be used to specify which DTD should be used
<xml version="1.0" standalone=`yes' ?>



© 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