libxml2-wasm
    Preparing search index...

    Interface SaveOptions

    Options to be passed in the call to saving functions

    If not specified, { format: true } will be used.

    interface SaveOptions {
        format?: boolean;
        indentString?: string;
        noDeclaration?: boolean;
        noEmptyTags?: boolean;
    }
    Index

    Properties

    format?: boolean

    To enable formatting on the output, creating a separate line for each tag and indent the text accordingly.

    false
    
    indentString?: string

    The string used for indentation.

    Two spaces: "  "
    
    noDeclaration?: boolean

    To disable the XML declaration.

    false
    
    noEmptyTags?: boolean

    To disable the empty tags.

    false