Pretty print a XML string or buffer by parsing it and then converting it back to a string. This function is useful for normalizing XML strings and making them more readable.
XML string or buffer to pretty print
Optional
Options to control the pretty printing behavior, see XMLStringfyOptions for details.
Pretty printed XML string
Pretty print a XML string or buffer by parsing it and then converting it back to a string. This function is useful for normalizing XML strings and making them more readable.