Rudiments
dtd.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_DTD_H
5 #define RUDIMENTS_DTD_H
6 
7 #include <rudiments/private/dtdincludes.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 class dtdprivate;
14 
16 class RUDIMENTS_DLLSPEC dtd {
17  public:
18 
20  dtd();
21 
23  ~dtd();
24 
27  bool parseFile(const char *filename);
28 
31  bool parseString(const char *string);
32 
35  const char *getError();
36 
38  xmldomnode *xml();
39 
40  #include <rudiments/private/dtd.h>
41 };
42 
43 #ifdef RUDIMENTS_NAMESPACE
44 }
45 #endif
46 
47 #endif