Comments in XML


#1

Thanks for a brilliant XML class Jules. I create XML as often as read it. Very often I would like to include comments of the type <!-- jidjdjdj --> when the XML is to be humanly readable. I can't easily do this as the class is today. Do you think it can be added somehow in the future?

 

Thank you,

Michael


#2

Thanks, it's certainly a handy class!

I guess I could add something for comments, though I think that if you just add the XML comment as part of the body text, that'd probably get written out without being modified. (Though when reloading it, the parser would strip it out again)