+ ;; `xml-parse-region' doesn't require that the XML parsed be enclosed in a
+ ;; root node, and accordingly, returns a list of elements. We are only
+ ;; interested in the first one, the DIV we just inserted.
+ (car (xml-parse-region (point-min) (point-max)))))