On Thu, Apr 02, 2009 at 12:31:06AM -0700, D Kimmel wrote: > Currently, I have been using the xmlCreatePushParserCtxt along with the > xmlParseChunk for some applications that have to read from an XML stream. > Is there a way to ignore (or not parse) subelements and just have them > returned as a chunk of data? I was hoping to avoid using CDATA blocks, but > basically that's the functionality I am looking for. Thanks,
No, basically the XML spec mandates that the parser examine and process every byte of the document input data (and fail with a fatal error if they don't match the XML character range or grammar). Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ [email protected] | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
