Re: [xml] Validating xml with xmlValidateDtd



Thanks, your previous answer helped me a lot.
 
But I still have a question.
 
I use this code, like you told me
 
cvp.userData = (void *) stderr;
cvp.error = (xmlValidityErrorFunc) fprintf;
cvp.warning  = (xmlValidityWarningFunc) fprintf;
 
RetVal = xmlValidateDtd(&cvp, doc, dtd);
 
 
Now I receive a 0 or a 1 in the RetVal, if it is a 0 the reason is printed to the screen.  How can I get all the errors and warnings if it is not valid in a char*?
 
 
Thanks again
----- Oorspronkelijk bericht -----
Van: Daniel Veillard
Verzonden: dinsdag 27 november 2001 14:20
Aan: Gert Marginet
CC: xml gnome org
Onderwerp: Re: [xml] Validating xml with xmlValidateDtd
 


Haal meer uit het web. Download MSN Explorer gratis: http://explorer.msn.nl/intl.asp#du



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