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
Haal meer uit het web. Download MSN Explorer gratis: http://explorer.msn.nl/intl.asp#du |