AddNodeAttribute Use Examples
Basic AddNode Use
AddNodeAttribute Service Input
For this example, we have set up the following file, named “test.xml,” in the “C:\EASYProcess” directory on the local machine.
When run, the AddNodeAttribute service will load the XML document structure of the given file and add the user-specified XML attribute to the target node, within the XML structure. In this example, we are simply adding a (new) attribute called “name” to a node named “Element” which is a child of “Document.” Here is the same file after the service has run:
For clarity, we have added two LoadFromFile service blocks in order to display what the file looks like before and after the changes.