Rewrote convertJudgmentToXML() to use DOMParser instead of E4X