[xml] libxml 2.2 validate
- From: Afanasiy Fet <dailylama gmail com>
- To: xml gnome org
- Subject: [xml] libxml 2.2 validate
- Date: Fri, 26 Jul 2013 10:22:17 +0300
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]