Interface: XmlElement
A namespace-stripped, immutable view of an XML element. This is the only XML
shape the rest of the SCRIPT parser sees: the fast-xml-parser output is
transformed into this tree at load time so downstream code never depends on
the parser's representation.
Properties
attrs
readonlyattrs:Readonly<Record<string,string>>
Attributes, prefix-stripped, in document order.
children
readonlychildren: readonlyXmlElement[]
Child elements, in document order.
name
readonlyname:string
Local element name, namespace prefix stripped (e.g. Message).
text
readonlytext:string
Concatenated direct text content, verbatim (not trimmed).