[jdom-interest] Adding String to Element where String contains an Element in String form

Alex Rosen arosen at silverstream.com
Wed May 29 07:21:04 PDT 2002


>When you set the text of an element to something like "3 < 4", it gets
>escaped to "3 &lt; 4" on output because "3 < 4" would be illegal XML.

I think we're agreeing here. What I meant was that the characters "3 < 4" in
the output XML file would be illegal, so XMLOutputter escapes them.

Alex




More information about the jdom-interest mailing list