XmlElement
import { XmlElement } from "jsr:@ende/xml";interface
interface XmlElementAn element node in the XML tree.
Properties
type
readonly type: "element"The node type discriminant.
name
readonly name: XmlNameThe qualified name of the element.
attributes
readonly attributes: Readonly<Record<string, string>>Attribute values keyed by the raw qualified attribute name as written in
the document, including any namespace prefix (e.g. "id", "xlink:href",
"xmlns", "xmlns:ns").
children
readonly children: ReadonlyArray<XmlNode>The child nodes of this element.