I have a workflow that is using an HTTP request that receives back an XML file. Within this XML file there is the following snippet of code:
<link rel="edit" title="FieldResponses" href="FieldResponses(767729)" /> <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/FormsSent" type="application/atom+xml;type=entry" title="FormsSent" href="FieldResponses(767729)/FormsSent" /> <category term="APIModel.FieldResponses" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <content type="application/xml"> <m:properties> <d:id m:type="Edm.Int32">767729</d:id> <d:AppNo m:type="Edm.Int32">19973</d:AppNo> <d:TraitID m:type="Edm.Int32">1117</d:TraitID> <d:Value>Signature=Amanda Test|ClientTimestamp=Wed Jun 17 2015 15:41:57 GMT-0600 (Mountain Daylight Time)|ServerTimestamp=6/17/2015 4:41:57 PM|UtcTimestamp=2015-06-17 21:41:57Z|ClientIP=209.141.120.194|AuthenticatedAs=User - wadeheat - wadeheat@d91.k12.id.us</d:Value> <d:ExtendedValue></d:ExtendedValue> <d:EmpNo m:type="Edm.Int32" m:null="true" /> </m:properties> </content> </entry> </feed> </m:inline> </link>
There are a lot of similar sections like this in the file. We are needing to specifically look for the <d:TraitID...> 1117</d:TraitID> value. Once we find that, I need to know the value of the <d:Value> tag directly after that..
How would I do this using the Read XML activity in Workflow?