Reusable JDOM XML utilities.