Re: Validating XML


2007-11-08 06:19:29 PM
cppbuilder63
Andrea < XXXX@XXXXX.COM >wrote:
Quote
is possible with TXMLDocucment validate an xml doc using a DTD ?
I personally have no experience with TXMLDocument, but as
nobody seems to be going to answer your question I just did
simple googling for "TXMLDocument validate" and found this page
that seems to have it:
www.topxml.com/Delphi-XML/rn-289305_BDS2006-Validate-xml-file-with-defined-schema.aspx
Note the option poValidateOnParse in line:
XMLDoc.ParseOptions:= [poResolveExternals, poValidateOnParse];
Vaclav