If you're writing your own XML instead of using the classes built into
Java, then why not indeed?
If you have a lot of small text nodes then using CDATA would make your file larger, but then that's just life in the XML world anyway. Just make sure you watch out for the
string that can't occur inside CDATA (something like ]]> but maybe not exactly that).