Xml comments


#1

Hi Jules,

is there a way to create comments in xml files like this

<xmltag>
text
<!-- comment -->
text
</xmltag>

If I add

element->addTextElement("<!-- comment -->");

i get something like this

<xmltag>
text
&lt;!-- positions --&gt;
text
</xmltag>

thanks,
peter


#2

Nope, sorry. Not really something I’d want to encumber the class with either - parsing and manipulating comments would add a lot of complexity.


#3

ok, thanks anyway.

peter