XML library | |
Type | library |
Dictionary | LCS |
Library | LiveCode Script |
Synonyms | xml library,xml libraries |
Related | Glossary: XML, XML document, LiveCode custom library |
Description | The LiveCode custom library that supports parsing and manipulating XML data and creating XMLfiles. |
Tags | multimedia |
Type | Name | Summary | Syntax |
---|---|---|---|
command | revXMLAddDTD | revXMLAddDTD <treeID>, <DTDText> | |
- - - | revXMLAddNode | Adds a child node to the specified parent node in an XML tree. | revXMLAddNode <treeID>, <parentNode>, <nodeName>, <nodeContents>, [<location>] |
- - - | revXMLAppend | revXMLAppend <treeID>, <parentNode>, <newXML> | |
- - - | revXMLCopyNode | Duplicates a node in an XML tree and copies it to the specified position | revXMLCopyNode <treeId>, <sourceNode>, <destinationNode> [, <location>] [, <relationship>] |
- - - | revXMLDeleteAllTrees | Removes all XML tree structures in memory. | revXMLDeleteAllTrees |
- - - | revXMLDeleteNode | revXMLDeleteNode <treeID>, <nodeToDelete> | |
- - - | revXMLDeleteTree | Removes an XML tree structure from memory. | revXMLDeleteTree <treeID> |
- - - | revXMLInsertNode | Inserts a node as a sibling of siblingNode in the specified tree. | revXMLInsertNode <treeId>, <siblingNode>, <nodeName>, <contents>, [<location>] |
- - - | revXMLMoveNode | Moves a node in an XML tree to the specified position | revXMLMoveNode <treeID>, <sourceNode>, <destinationNode> [, <location>] [, <relationship>] |
- - - | revXMLPutIntoNode | revXMLPutIntoNode <treeID>, <nodePath>, <newContents> [, <replaceTextOnly>] | |
- - - | revXMLSetAttribute | Creates an attribute of a node, or sets the value of an existing attribute. | revXMLSetAttribute <treeID>, <node>, <attributeName>, <newValue> |
function | revXMLAttribute | Returns the value of the specified attribute of the specified node of an XML tree. | revXMLAttribute(<treeID>, <node>, <attributeName>) |
- - - | revXMLAttributes | Returns a list of all attributes and their values for the specified node. | revXMLAttributes(<treeID>, <node>, <valueDelim>, <attributeDelim>) |
- - - | revXMLAttributeValues | Returns a list of the values of a specified attribute for the specified nodes in an XML tree. | revXMLAttributeValues(<treeID>, <startNode>, <childName>, <attributeName>, <delimiter>, <depth>) |
- - - | revXMLChildContents | Returns a list of the tags and text contents of the specified nodes. | revXMLChildContents(<treeID>, <startNode>, <tagDelim>, <nodeDelim>, <includePathDetails>, <depth>) |
- - - | revXMLChildNames | Returns a list of the child nodes under the specified node in an XML tree. | revXMLChildNames(<treeID>, <startNode>, <nameDelim>, <childName>, <includeChildCount>, [incText]) |
- - - | revXMLCreateTree | revXMLCreateTree(<XMLText>, <dontParseBadData>, <createTree>, <sendMessages>) | |
- - - | revXMLCreateTreeFromFile | revXMLCreateTreeFromFile(<filePath>, <parseBadData>, <createTree>, <sendMessages>) | |
- - - | revXMLCreateTreeFromFileWithNamespaces | Reads an XML file, optionally creating an XML tree and returning XML namespace tags and attributes as part of the tree. | revXMLCreateTreeFromFileWithNamespaces(<filePath>, <parseBadData>, <createTree>, <sendMessages>) |
- - - | revXMLCreateTreeWithNamespaces | Creates an XML tree structure from XML text data ignoring namespace tags and attributes. | revXMLCreateTreeWithNamespaces(<XMLText>, <dontParseBadData>, <createTree>, <sendMessages>) |
- - - | revXMLFirstChild | Returns the path to a node's first child node. | revXMLFirstChild(<treeID>, <parentNode>, [ incText ]) |
- - - | revXMLMatchingNode | Finds the node in an XML tree where the specified attribute of the node has the specified value. | revXMLMatchingNode(<treeID>, <startNode>, <childName>, <attributeName>, <attributeValue>, <depth> [, <caseSensitive>]) |
- - - | revXMLNextSibling | Returns the path to a child node's next sibling node. | revXMLNextSibling(<treeID>, <siblingNode>, [incText] ) |
- - - | revXMLNodeContents | Returns the text contained in the specified node in an XML tree. | revXMLNodeContents(<treeID>, <node>) |
- - - | revXMLNumberOfChildren | Returns the number of child nodes under the specified node in an XML tree. | revXMLNumberOfChildren(<treeID>, <startNode>, <childName> [, <depth>]) |
- - - | revXMLParent | Returns the path to the parent node of a node in an XML tree. | revXMLParent(<treeID>, <childNode>) |
- - - | revXMLPreviousSibling | Returns the path to a child node's previous sibling node. | revXMLPreviousSibling(<treeID>, <siblingNode>, [incText]) |
- - - | revXMLRootNode | revXMLRootNode(<treeID>) | |
- - - | revXMLText | revXMLText(<treeID> [, <startNode>] [, <formatted>]) | |
- - - | revXMLTree | Returns a list of the nodes in an XML tree, in a form that shows their parent/child relationships. | revXMLTree(<treeID>, <startNode>, <nodeDelim>, <padding>, <includeChildCount>, <depth>) |
- - - | revXMLTrees | revXMLTrees() | |
- - - | revXMLValidateDTD | revXMLValidateDTD(<treeID>, <DTDText>) |