On Mon, May 23, 2005 at 11:30:53PM +0200, Anne Martens wrote:
> There comes my question: Is there any way to parse a DTD from an in-memory
> string?
I think yes. Using xmlIOParseDTD() with a NULL SAX handler, and
an xmlParserInputBufferPtr built from your in-memory string.
Daniel
--
Daniel V
Hi everybody,
I'm writing a program that uses an xml file format for inputs. To validate
the input, I'd like to use DTDs. Thus, I can warn the user if the used
input does not validate the file format, and can afterwards be sure that
the tree I parsed contains all needed elements. As the file f