attlistDecl
attlistDecl: [
elname: string,
attname: string,
attType: string,
dflt: string,
isrequired: boolean,
]
characterData
characterData: [value: string]
default
default: [value: string]
destroy
destroy: [valid: boolean]
elementDecl
elementDecl: [name
: string, model
: Model] endBase
endBase: [base: string]
endCdataSection
endCdataSection: []
endDoctypeDecl
endDoctypeDecl: []
endElement
endElement: [name: string]
endNamespaceDecl
endNamespaceDecl: [prefix: string]
entityDecl
entityDecl: [
entityName: string,
isParameterEntity: boolean,
value: null
| string,
base: string,
systemId: string,
publicId: string,
notationName: string,
]
error
error: [error: unknown]
notationDecl
notationDecl: [
notationName: string,
base: string,
systemId: string,
publicId: string,
]
processingInstruction
processingInstruction: [target: string, data: string]
skippedEntity
skippedEntity: [entityName: string, isParameterEntity: boolean]
star
star: [name: string | symbol, ...args: any[]]
startBase
startBase: [base: string]
startCdataSection
startCdataSection: []
startDoctypeDecl
startDoctypeDecl: [
doctypeName: string,
sysid: string,
pubid: string,
hasInternalSubset: boolean,
]
startElement
startElement: [name: string, attribs: object]
startNamespaceDecl
startNamespaceDecl: [prefix: string, nsURI: string]
xmlDecl
xmlDecl: [version: string, encoding: string, standalone: boolean]