XML Actions
Description: XML (Extensible Markup Language) is a markup language for documents containing structured information, much like HTML (Hypertext Markup Language). However, unlike HTML, which is used to format and display data, XML is used to essentially transport and share data. The fact that XML is just plain text is the primary reason for its superiority. In the real world, computer systems and databases contain data in incompatible formats. Since XML data is stored in plain text format, it provides a software and hardware-independent way of storing data, which, in turn, makes it much easier to create data that different applications can share. In short, XML is a software and hardware autonomous tool for encompassing and transmitting data.
XML activities are ideal for such operations. They allow automation of many common XML tasks, such as transforming, merging, validating and signing XML documents. They are also capable of reading, creating, editing or deleting XML nodes as well as extracting XML fragments (e.g., a collection of XML nodes) and saving them to a file or other means.
Available Activities
The following table briefly describes the available activities for this action. Click the appropriate link for more details regarding each activity.
Activity |
Description |
---|---|
Creates a new node in an existing XML file. Optionally assigns a value and attribute to the node. |
|
Creates a new XML session based on an XML file or specified text. This session can be used in subsequent XML steps to modify an in-memory (saved to memory) copy of the XML data. |
|
Allows an dataset to be stored into XML text. The dataset must first be created in a previous step and must exist in the task in order for this action to work. |
|
Deletes all the nodes/attributes that match the Xpath expression in a given XML file. |
|
Edits a node value or its attribute in a given file. |
|
Ends the specified XML session. |
|
Evaluates an XPath expression using XPath functions. |
|
Extracts an XML fragment (e.g., a collection of nodes) located at the specified XPath and saves it to a new file. |
|
Merges two XML files together into one XML file. |
|
Retrieves the text value or XPath expression of each node in a document tree or the value of a specific attribute and populates a dataset with the results. |
|
Retrieves the XML node value (or attribute value, if specified) located at the position expressed by the XPath and places it into a variable. |
|
Saves the in-memory representation of the XML session, for example, to a file or variable before ending the XML session. Using this action does not end the session, thus allowing subsequent XML steps to continue using the session. |
|
Signs an XML file with the specified key. Signing an XML file provides a means of verification that the file has not been modified. |
|
Transforms an XML file into HTML using an XSLT (Extensible Stylesheet Language Transformation) file. |
|
Validates that an XML file in session is well-formed, schema compliant or DTD (Document Type Definition ) compliant. |
|
Verifies whether the signature of the specified XML file is valid. |