Added XML formatting possibility. Removed "@Override" annotations for
Java 5 compatibility.