dom-pp

dom-pp is a compiled Lisp function in `dom.el'.

(dom-pp DOM &optional REMOVE-EMPTY)

Pretty-print DOM at point.
If REMOVE-EMPTY, ignore textual nodes that contain just
white-space.