Skip to content

prettyPrintXML

prettyPrintXML(xml, options?) → string · Format

Pretty-print an XML string with optional formatting options.

  • xml (required): XML string to format

  • options (optional): formatting options

utlx
prettyPrintXML($input.xmlPayload)        // indented XML

Released under AGPL-3.0.