Switch XML Simplify does exactly what it is named for.
It will simplify XML generated from Switch Client either by a Submit point or a Checkpoint.
By default, a typical Xpath from a Switch generated XML looks like this :
It has several flaws :
If you change the field order in your submit point, it will break your Xpath;
It’s hardly human readable;
Evaluating workaround trick (eg : replacing the field number with tag=’XXXX’) will :
need you to edit the xpath manually;
not work if you have a quote, or a double quote, in your tag;
How does it work?
Just use the app as a flow element and the app default behavior will add a new dataset with a suffix for each Switch client XML compliant.
Now your Xpath is simplified and will looks like this : /Xml/pressType/press