On Tue, Jan 16, 2007 at 08:38:40AM -0800, Yan Seiner wrote: > Daniel Veillard wrote: > My bad for not reading the docs on xmllint far enough. I missed the > well-formedness check it does completely..... > > Has anyone written it as a function, so I could call it from within > PHP? What I would like to do is the following:
Hum, PHP uses libxml2 at least starting from 5.0. You should be able to capture the parsing error messages, check the docs, I would be really surprized if it wasn't there. 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
