On Fri, 2019-07-05 at 12:18 -0700, Eric Eberhard wrote: > Dear Ashjan, > > If it was me I'd do it the cheap way and not use the parser.
Make sure to handle markup in comments and CDATA sections properly,and to process external files included with XInclude or by entities defined in the DTD. Working with XML at the text level can be reasonably safe if you know the input files well, and yes, i sometimes do it too, but cheap isn't the same as good :) Liam -- Liam Quin, https://www.delightfulcomputing.com/ Upcoming course: CSS for XML People, Rockville MD, August 2019 See https://www.delightfulcomputing.com/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml