XmlDeclaration
import { XmlDeclaration } from "jsr:@ende/xml";interface
interface XmlDeclaration extends XmlPositionThe XML declaration of a document, exposed as
XmlDocument.declaration.
See also
Properties
type
readonly type: "declaration"The type discriminant.
version
readonly version: stringThe XML version as declared in the document (e.g. "1.0" or "1.1").
encoding
readonly encoding?: stringThe declared character encoding, if specified.
standalone
readonly standalone?: "yes" | "no"Whether the document is standalone (§2.9).