David Grohmann wrote: > the call I'm using is this > > xmlReadFile( document_filename, NULL, XML_PARSE_PEDANTIC ) > > are you saying that if i change XML_PARSE_PEDANTIC to > XML_PARSE_NOBLANKS it will parse them exactly the same?
They SHOULD be parsing the same anyway, don't know why they're not. But it sounds like you want to ignore the blank text node in between the elements, so adding that should make them both ignore it. You don't have to get rid of PEDANTIC if you want, you can OR them together for multiple options. xmlReadFile( document_filename, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NOBLANKS) Jason _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml