I'm using the XmlParser to insert nodes into an existing XML. Unfortunately this parser ignores the comment nodes which I would like to keep in place. Is there another parser I can use?
Thanks.
I'm using the XmlParser to insert nodes into an existing XML. Unfortunately this parser ignores the comment nodes which I would like to keep in place. Is there another parser I can use?
Thanks.
Try using StreamingMarkupBuilder (from Old Nabble). You can extract comments but not CDATA.