To test this policy:
1. Create a testing endpoint on your Gateway, i.e: /addXml , /removeXml
2. Import the attached policy into the respective endpoint
3. Send one of the sample messages below to the Gateway depending on your needs (add or remove)
Sample XML for removing the PRICE element:
<bookstore>
<book category="API">
<title lang="en">CA API Management</title>
<author>John Doe</author>
<year>2017</year>
<price>30.00</price>
</book>
</bookstore>
Sample XML for adding the PRICE element:
This policy is provided as-is without warranty or support of any kind and intended only for guidance in using the assertion. This must not be used on production systems.