@nodecfdi/cfdi-core
    Preparing search index...

    Interface XmlNodeInterface

    interface XmlNodeInterface {
        length: number;
        "[iterator]"(): IterableIterator<XmlNodeInterface>;
        addAttributes(attributes: Record<string, unknown>): void;
        addChild(node: XmlNodeInterface): XmlNodeInterface;
        attributes(): default;
        cdata(): string;
        children(): default;
        clear(): void;
        getAttribute(name: string): string;
        hasAttribute(name: string): boolean;
        name(): string;
        searchAttribute(...searchPath: string[]): string;
        searchNode(...searchPath: string[]): undefined | XmlNodeInterface;
        searchNodes(...searchPath: string[]): default;
        setAttribute(name: string, value?: null | string): void;
        setCData(cdata: string): void;
        setValue(value: string): void;
        value(): string;
    }

    Implemented by

    Index

    Properties

    length: number

    Methods

    • Parameters

      • attributes: Record<string, unknown>

      Returns void

    • Parameters

      • name: string

      Returns string

    • Parameters

      • name: string

      Returns boolean

    • Parameters

      • ...searchPath: string[]

      Returns string

    • Parameters

      • name: string
      • Optionalvalue: null | string

      Returns void

    • Parameters

      • cdata: string

      Returns void

    • Parameters

      • value: string

      Returns void