* moved DOMUtil.prettyPrintDOM into "isDebugEnabled" statement