vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function prettify

    • 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.

      Parameters

      • xml: string | Buffer<ArrayBufferLike>

        XML string or buffer to pretty print

      • Optionaloptions: XMLStringfyOptions

        Options to control the pretty printing behavior, see XMLStringfyOptions for details.

      Returns string

      Pretty printed XML string