Remove a node from XML

Remove a node from XML

This advanced utilities workflow component can remove one or multiple nodes from an input XML, that is found in the payload of the workflow.

 

The output is a changed payload, where the selected nodes are removed. The workflow continues processing with the new, changed XML.

 

The parameter of the component is this:

    

  1. XPath expression
    This XPath expression is used for identifying the node(s), that are to be removed from the XML file.

    • Related Articles

    • XML Node Selection & Referencing

      XPath provides multiple ways to reference and navigate through an XML structure. Learn how to select specific nodes using direct references, index numbers, conditions, and relationships with other nodes. Connecting preceding or following node sets to ...
    • Node Existence & Conditions

      XPath allows you to verify the existence of nodes, check if they contain data, count occurrences, and ignore namespaces. This section covers essential techniques for validating and filtering XML elements. Calculating the sum of nodes Counting ...
    • Iteration & Grouping

      When working with repeated data, XPath enables you to loop through multiple elements or extract specific subsets of data based on conditions. This section covers repeat loops, grouping techniques, and handling warnings when no nodes are selected. ...
    • XML remove namespaces

      This advanced utilities workflow component removes all name spaces from the XML file in the workflow payload. The workflow continues processing on the changed XML. The XML remove namespaces workflow component has no parameters.
    • Base64 XML node to payload

      If a resource is included as base 64 in an input XML file, then you can use this advanced utilities component to extract the resource from the input file into the payload. The base64 XML node to payload workflow component has these parameters: XPath ...