> 2. Shouldn't CDATA be a subclass of Text? The JDOM methods are almost > all the same. I can imagine many aplications not caring about the > difference. I agree - or just have one Text class, with a switch to tell XMLOutputter whether to output it as a CDATA section or a plain text node. Alex