Re: [xml] valid xml guidelines?



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/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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