Error getting tags :
error 404Error getting tags :
error 404 revAppendXML | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revAppendXML
Basics
Expander triangle
Type
Command
Syntax
revAppendXML treeID,parentNode,newXML
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk
Summary
Adds XML text to an XML tree.
Examples

revAppendXML 4,"/Publications/Fiction/SF",URL "file:SF Books.xml"
revAppendXML thisTree,the currNode of me,the text of me

Additional Comments
Expander triangle

Use the revAppendXML command to add new XML data to an existing XML tree.

Parameters:

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

The parentNode is the path to the node where the newXML will be inserted. Any elements in the newXML will become child nodes of the parentNode. If no parentNode is specified, the newXML is inserted at the end of the XML tree.

The newXML is the XML text to be inserted.

Comments:

If the revAppendXML command encounters an error, the result is set to an error message beginning with "xmlerr".

Important! The revAppendXMLcommand is part of the XML library. To ensure that the command 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