views:

71

answers:

1

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.

A: 

Try using StreamingMarkupBuilder (from Old Nabble). You can extract comments but not CDATA.

mcandre
I'll give that a whirl. Thanks!
warsze