On Thu, Feb 01, 2007 at 11:50:23AM +0100, Erik F. Andersen wrote: > Hello! > > I have looked at the code in xmllint.c because I need only the part that > validates a XML against a schema, that is: > "xmllint --schema xsdfile.xsd xmlfile.xml" > > Since I'm a Delphi programmer and I'm not too experienced with C I find the > code in xmllint.c a bit confusing however (and I cannot debug either). > > I was hoping that maby some kind soul would outline the necessary steps > involved for me in XSD validation using LIBXML2? I'm using the latest version.
Check the testSchemas.c whose source is available in the distribution, it should be quite easier to understand. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
