How to validate xml against .dtd, but not include the <!DOCTYPE Document SYSTEM "validate.dtd"> with xmlCreateIntSubset(doc, BAD_CAST "Document", NULL, BAD_CAST "validate.dtd"); into xml file. Best choice would be to use "xmlValidateDocument(context, document)" alternative (if such exist?) with third parameter to provide dtd filename or its string.
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml