// Copyright (c) 2002  David Muse
// See the file COPYING for more information

#include <rudiments/dtd.h>
#include <stdio.h>

#ifdef RUDIMENTS_NAMESPACE
using namespace rudiments;
#endif

int main(int argc, const char **argv) {

	// display the contents of dtd.dtd
	dtd	d;
	d.parseFile("dtd.dtd");
	printf("%s\n",d.xml()->xml()->getString());
}


syntax highlighted by Code2HTML, v. 0.9.1