libxml2-wasm
    Preparing search index...

    Interface C14NOptions

    Options for XML canonicalization

    interface C14NOptions {
        inclusiveNamespacePrefixes?: string[];
        isVisible?: XmlC14NIsVisibleCallback;
        mode?: 0 | 2 | 1;
        nodeSet?: Set<XmlNode>;
        withComments?: boolean;
    }
    Index

    Properties

    inclusiveNamespacePrefixes?: string[]

    List of inclusive namespace prefixes for exclusive canonicalization Only applies when mode is XML_C14N_EXCLUSIVE_1_0

    Custom callback to determine node visibility Must not be used together with nodeSet

    mode?: 0 | 2 | 1

    The canonicalization mode to use

    XmlC14NMode.XML_C14N_1_0
    
    nodeSet?: Set<XmlNode>

    Set of nodes to include in canonicalization Must not be used together with isVisible

    withComments?: boolean

    Whether to include comments in the canonicalized output

    false