On Wed, Aug 03, 2005 at 06:27:21PM -0500, Jeremy Enos wrote: > Can someone give me a pointer to how I can create a valid xml format > which will make the "xmlTextReaderIsValid" function return 1?
You need to create a DTD, a Schemas, or a RelaxNG describing the content for your documents and switch on validation at the beginning of the parsing. See http://xmlsoft.org/xmlreader.html#Validating http://xmlsoft.org/xmlreader.html and the various tutorials on the web on how to crate a DTD, a Schemas or a RelaxNG Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [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
