How to extract value from XML object | Community
Skip to main content
Level 2
October 26, 2020
Solved

How to extract value from XML object

  • October 26, 2020
  • 2 replies
  • 2505 views

Hi, 

I want to extract email value from email header parameter (which is xml object) from broadLogRcp(deliveries) 

in my workflow. Any insight/sample code would be highly appreciated. 

Example : I want to extract user's email from "email header parameters" from broadLogRcp schema just to know who are all useds were targeted and an email sent out to them. 

Currently user's email in email header parameter is in XML object format so directly we can get the value so I am trying to write one JavaSCript code for the same, so need help to find a solution around this. appreciate your time on this.

Looking forward...

-CSLTgupta

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

_Manoj_Kumar_
Community Advisor
Community Advisor
October 26, 2020

Hello @csltguptaa ,

 

You can refer to this page for who to parse the XML with javascript.

 

https://www.w3schools.com/xml/xml_parser.asp

 

Thanks,

Manoj

     Manoj     Find me on LinkedIn
Level 2
October 28, 2020
Hi Manoj, thanks. Do you have any example or sample code for the same? If yes that would be really helpful for the same. Appreciate your response..
Sukrity_Wadhwa
Community Manager
Sukrity_WadhwaCommunity ManagerAccepted solution
Community Manager
November 17, 2020