[xml] libxml and dtd validation


I am just looking at writing some code that will dtd validate and xml
file and return me the errors in a buffer/string. Ideally it would be
nice if each error was in a seperate buffer/string.

It looks like the only way to do this is redirect stderr/stdout before i

ret = xmlTextReaderRead(reader);

Am i correct in assumming this? 

Any advice would be appreciated,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]