import { XMLNodeIterator } from "./XMLNodeIterator"; /** * The scoped XMLNode API allows you to query values from XML nodes. * XMLNodes are extracted from XMLDocument2 objects, which contain XML strings */ export declare class XMLNode { /** * Append the given XMLNode as a child node */ appendChild(newChild?: any): void; constructor(); /** * Gets the value of the specified attribute */ getAttribute(attribute?: string): string; getAttributes(): Map; /** * Gets the node's XMLNodeIterator object */ getChildNodeIterator(): XMLNodeIterator; /** * Gets the node's first child node */ getFirstChild(): XMLNode; /** * Gets the node's last child node */ getLastChild(): XMLNode; /** * Gets the node's name */ getNodeName(): string; /** * Gets the node's value */ getNodeValue(): string; /** * Gets the node's text content */ getTextContent(): string; /** * Determines if the node has the specified attribute */ hasAttribute(attribute?: string): boolean; isCDATANode(): boolean; /** * Sets the value of the specified attribute */ setAttribute(attribute?: string, value?: string): void; /** * Gets the node's string value */ toString(): string; }