[xml] libxml 2.2 validate



How to validate xml against .dtd, but not include the 
<!DOCTYPE Document SYSTEM "validate.dtd">
with
xmlCreateIntSubset(doc, BAD_CAST "Document"NULLBAD_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]