libxml2-wasm
    Preparing search index...

    Class XmlSimpleNodeAbstract

    A simple node that contains only text content without children.

    Hierarchy (View Summary)

    Index

    Properties

    canonicalize: (
        handler: XmlOutputBufferHandler,
        options?: SubtreeC14NOptions,
    ) => void

    Canonicalize this node and its subtree to a buffer and invoke the handler to process.

    Type Declaration

    canonicalizeToString: (options?: SubtreeC14NOptions) => string

    Canonicalize this node and its subtree and return the result as a string.

    Type Declaration

    Accessors

    • get content(): string

      The content string of the node.

      Returns string

    • set content(value: string): void

      Set the content of the node.

      Parameters

      • value: string

        the new content

      Returns void

    • get line(): number

      The line number of the node if the node is parsed from an XML document.

      Returns number

    Methods