Kizuki
    Preparing search index...

    Interface XNode

    A simplified XML element: name, attributes, children in document order, and text for text nodes.

    interface XNode {
        attrs: Record<string, string>;
        children: XNode[];
        name: string;
        text: string;
    }
    Index
    attrs: Record<string, string>

    The element's attributes by name, all as strings. Empty for text nodes.

    children: XNode[]

    The child nodes, in document order. Empty for text nodes.

    name: string

    The element's name with its prefix, such as w:p. #text for a text node, #root for the top of the tree.

    text: string

    The text of a text node. Empty for elements.