OL Learn

Remove text from XML source file and re save

I have an input SOAP that receives an XML document.
Is there a way to remove some text from the XML document and save to a folder as XML?

The most efficient way to do this is to use the Open XSLT task to modify the XML file, but if you have no experience with XSLT, it can be extremely daunting.

Alternatively, you could use a script that parses the XML as a text file, removes unwanted elements and then writes a new file, but that can also prove to be difficult, depending on what you want to achieve.

Do you absolutely need to modify the XML file? If you plan to extract data from it with the DataMapper, you can just ignore the unwanted content.