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

    Function normalize

    • Normalize an XML string by removing any line breaks, tabs and comment blocks. Trims all values from trailing spaces.

      Parameters

      • xml: string | Buffer<ArrayBufferLike>

        XML string or buffer

      • Optionaloptions: XMLStringfyOptions

      Returns string

      normalized XML string without comments or line-breaks.