Home > @jsplumbtoolkit/browser-ui > xml
xml class
Signature:
export declare class xml
Methods
Method | Modifiers | Description |
---|---|---|
createElement(name, attributes, text) | static | Creates an XML element. |
getChild(parent, name) | static | Gets the first instance of the child with the given tag name, null if none found. |
getChildren(parent, name) | static | Gets children of the given node (only direct children), returning an array of nodes (an empty array if none found). |
getNodeText(node) | static | Gets text from the given node. |
setNodeText(node, text) | static | Sets a node's text value. |
xmlToString(xmlNode) | static | Serializes the given XML node to a string, throwing an Error if something goes bad. |