Nexial Automation

Test Automation Platform for everyone!

X

xml » delete(xml,xpath,var)

Description

This command search against specified xml via xpath, and delete all matching instances from the enclosing XML document. The final (modified) XML is then stored in a data variable specified as var.

Parameters

  • xml - the XML document or file
  • xpath - the XPATH to specify the target area of impact
  • var - the variable name to store the beautified content.

Example

Script:

Output:

See Also