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

revXMLAttribute(2,"/","Timestamp")
put revXMLAttribute(currTree,currNode,the short name of field x) \
into field x

Additional Comments
Expander triangle

Use the revXMLAttribute function to get an attribute's value.un

Parameters:

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

The node is the path to the node whose attribute value you want to get.

The attributeName is the name of the attribute.

Value:

The revXMLAttribute function returns a string.

Comments:

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

Important! The revXMLAttributefunction 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