N/xml
Validate, parse, read, and modify XML documents.
Oracle reference0 of 48 methods have Mynt syntax 0%
0 implemented0 in progress0 planned0 under consideration48 open for proposals
Module functions
Document object
- Document.adoptNode(options) Attempts to adopt a node from another document to this document. Open for proposals ·
- Document.createAttribute(options) Creates an attribute node of type ATTRIBUTE_NODE with the optional specified value. Open for proposals ·
- Document.createAttributeNS(options) Creates an attribute node of type ATTRIBUTE_NODE, with the specified namespace value and optional specified value. Open for proposals ·
- Document.createCDATASection(options) Creates a CDATA section node of type DOCUMENT_FRAGMENT_NODE with the specified data. Open for proposals ·
- Document.createComment(options) Creates a Comment node of type COMMENT_NODE with the specified string. Open for proposals ·
- Document.createDocumentFragment() Creates a node of type DOCUMENT_FRAGMENT_NODE. Open for proposals ·
- Document.createElement(options) Creates a new node of type ELEMENT_NODE with the specified name. Open for proposals ·
- Document.createElementNS(options) Creates a new node of type ELEMENT_NODE with the specified namespace URI and name. Open for proposals ·
- Document.createProcessingInstruction(options) Creates a new node of type PROCESSING_ INSTRUCTION_NODE with the specified target and data. Open for proposals ·
- Document.createTextNode(options) Creates a new node of type TEXT_NODE. Open for proposals ·
- Document.getElementById(options) Returns the element that has an ID attribute with the specified value as an xml.Element object. Open for proposals ·
- Document.getElementsByTagName(options) Returns an array of xml.Element objects with a specific tag name, in the order in which they appear in the XML document. Open for proposals ·
- Document.getElementsByTagNameNS(options) Returns an array of xml.Element objects with a specific tag name and namespace, in the order in which they appear in the XML document. Open for proposals ·
- Document.importNode(options) Imports a node from another document to this document. Open for proposals ·
Element object
- Element.getAttribute(options) Returns the value of the specified attribute. Open for proposals ·
- Element.getAttributeNode(options) Retrieves an attribute node by name. Open for proposals ·
- Element.getAttributeNodeNS(options) Returns an attribute node with the specified namespace URI and local name. Open for proposals ·
- Element.getAttributeNS(options) Returns an attribute value with the specified namespace URI and local name. Open for proposals ·
- Element.getElementsByTagName(options) Returns an array of descendant xml.Element objects with a specific tag name, in the order in which they appear in the XML document. Open for proposals ·
- Element.getElementsByTagNameNS(options) Returns an array of descendant xml.Element objects with a specific tag name and namespace, in the order in which they appear in the XML document. Open for proposals ·
- Element.hasAttribute(options) Returns true if the current element has an attribute with the specified name or if that attribute has a default value. Open for proposals ·
- Element.hasAttributeNS(options) Returns true if the current element has an attribute with the specified local name and namespace or if that attribute has a default value. Open for proposals ·
- Element.removeAttribute(options) Removes the attribute with the specified name. Open for proposals ·
- Element.removeAttributeNode(options) Removes the attribute specified as a xml.Attr object. Open for proposals ·
- Element.removeAttributeNS(options) Removes the attribute with the specified namespace URI and local name. Open for proposals ·
- Element.setAttribute(options) Adds a new attribute with the specified name. Open for proposals ·
- Element.setAttributeNode(options) Adds the specified attribute node. Open for proposals ·
- Element.setAttributeNodeNS(options) Adds the specified attribute node. Open for proposals ·
- Element.setAttributeNS(options) Adds a new attribute with the specified name and namespace URI. Open for proposals ·
Node object
- Node.appendChild(options) Appends a node after the last child node of a specific element node. Open for proposals ·
- Node.cloneNode(options) Creates a copy of a node. Open for proposals ·
- Node.compareDocumentPosition(options) Returns a number that reflects where two nodes are located, compared to each other. Open for proposals ·
- Node.hasAttributes() Returns true if the current node has any attributes. Open for proposals ·
- Node.hasChildNodes() Returns true if the current node has child nodes or returns false if the current node does not have child nodes. Open for proposals ·
- Node.insertBefore(options) Inserts a new child node before an existing child node for the current node. Open for proposals ·
- Node.isDefaultNamespace(options) Returns true if the specified namespace uniform resource identifier (URI) is the default namespace for the current node or returns false if the specified namespace is not the default namespace. Open for proposals ·
- Node.isEqualNode(options) Returns true if two nodes are equal or returns false if two nodes are not equal. Open for proposals ·
- Node.isSameNode(options) Returns true if two nodes reference the same object or returns false if two nodes do not reference the same object. Open for proposals ·
- Node.lookupNamespaceURI(options) Returns the namespace uniform resource identifier (URI) that matches the specified namespace prefix. Open for proposals ·
- Node.lookupPrefix(options) Returns the namespace prefix associated with the specified namespace uniform resource identifier (URI). Open for proposals ·
- Node.normalize() Puts all text nodes underneath a node, including attribute nodes, into a normal form. Open for proposals ·
- Node.removeChild(options) Removes the specified child node. Open for proposals ·
- Node.replaceChild(options) Replaces a specific child node with another child node in a list of child nodes. Open for proposals ·