Validate XML against xsdschema when parsing



Hello all,

 

We have a project that wants to use libxml++ to parse and validate xml files. Originally we use DTD to validate, but recently we want to switch to XML Schema.

However, I cannot find a way to do validation with parsing just as we did with DTD by calling set_validate().

Is there someone who knows if it is possible to do it simply, or I have to create a XsdValidator object separately to validate the XML file?

 

Best regards,

Lingxiao

 

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


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