Error getting tags :
error 404Error getting tags :
error 404 revXMLRootNode | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revXMLRootNode
Basics
Expander triangle
Type
Function
Syntax
revXMLRootNode(treeID)
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk
Summary
Returns the path to the starting node of an XML tree.
Examples

revXMLRootNode(3)
put revXMLRootNode(thisTree) into myStartNode

Additional Comments
Expander triangle

Use the revXMLRootNode function to get the path to an XML tree's root node.

Parameters:

The treeID is the number returned by the revCreateXMLTree or revCreateXMLTreeFromFile function when you created the XML tree.

Value:

The revXMLRootNode function returns a node path.

Comments:

The root node is the starting node of the XML tree. The corresponding XML element is the one that contains all other elements in the XML document.

If the revXMLRootNode function encounters an error, it returns an error message starting with "xmlerr".

Important! The revXMLRootNodefunction is part of the XML library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section on the General screen of the Standalone Application Settings window, make sure "XML Library" is selected in the list of script libraries.

User Comments
Expander triangle