Function: xml-debug-print

xml-debug-print is a byte-compiled function defined in xml.el.gz.

Signature

(xml-debug-print XML &optional INDENT-STRING)

Documentation

Outputs the XML in the current buffer.

XML can be a tree or a list of nodes. The first line is indented with the optional INDENT-STRING.

Aliases

xml-print

Source Code

;; Defined in /usr/src/emacs/lisp/xml.el.gz
;;; Printing a parse tree (mainly for debugging).

(defun xml-debug-print (xml &optional indent-string)
  "Outputs the XML in the current buffer.
XML can be a tree or a list of nodes.
The first line is indented with the optional INDENT-STRING."
  (setq indent-string (or indent-string ""))
  (dolist (node xml)
    (xml-debug-print-internal node indent-string)))