AnsweredAssumed Answered

MBS - XML Query Namespace & Node Question

Question asked by mprythero on Oct 2, 2017
Latest reply on Oct 2, 2017 by monkeybreadsoftware

Hi!

 

I was curious if anyone had run into working around with MBS and it's XML Query Function. I am running into an issue primarily based in my lack of previous knowledge of anything XML and I've been forced into it a bit...

 

MBS's help page is here: Monkeybread Software - MBS FileMaker Plugin: XML.Query

 

But let's say I have a text box with the following XML output:

 

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><TrackViaPronumberAdvancedResponse xmlns="https://webservices.rrts.com/tracking/"><TrackViaPronumberAdvancedResult><ShipmentOrigin><Name>EXAMPLE</Name><Address1>EXAMPLE</Address1><Address2>EXAMPLE</Address2><City>EXAMPLE</City><State>EXAMPLE</State><PostalCode>EXAMPLE</PostalCode></ShipmentOrigin>

 

Using the help file above, how would I pull the information from say the <State> of the <ShipmentOrigin>? Mind you, there are a few other instances of <State>, so doing a full out search for <State> won't work, it would have to be specifically focused on the <State> within <ShipmentOrigin>.

 

Thank you so very much! I appreciate everything!!

 

Matt

Outcomes