G'Day Peoples,
Im a Bit of a Noob with XML and it turns out just doing some work with XML and an web API
Is there a way of searching XML for example, So if the location of the value, in this case "Printing Status" is searchable ?
msg.payload = msg.payload.jobs.job[0].sections[0].section[3].custom_fields[0].custom_field[4].value[0]
something like msg.payload.jobs.job[0]['Printing Status"][0]
That way if the XML structure changes it doesnt break
here is the debug xml structure
Unfortunately I cant post the flow as it has API keys in it
Also is there an easy way to show all wildcards for example
msg.payload.jobs.job[*].status[0]
So it returns all job ticket numbers from the xml ?
Any Help is appreciated!