@federicocarboni/saxe
    Preparing search index...

    Interface XmlDeclaration

    XML declaration (XMLDecl).

    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    
    interface XmlDeclaration {
        encoding?: string;
        standalone?: boolean;
        version: string;
    }
    Index

    Properties

    encoding?: string

    Encoding in the XML Declaration, or undefined when unspecified. The encoding label is converted to lower case to be consistent with the encoding property of TextDecoder, and ensures encoding labels are processed in a case-insensitive way.

    The parser does not validate that the encoding label is one of the officially assigned IANA Character Sets nor does it resolve aliases.

    standalone?: boolean

    Standalone value declared in the XML Declaration.

    true when set to yes, false when set to no, or undefined when unspecified.

    version: string

    Version declared in the XML Declaration. Generally 1.0 or 1.1.