Extracting Data From Xml File

– Girish Bedekar

Recently I was given the following xml


The customer wanted to email the persons listed in the emails element. They wanted to use the email component provided by livecycle. The email component takes a comma separated string when you want to email multiple people. So I used setValue component to extract the emai id’s and put them into a list. The list was then converted into a comma separated string of email addresses.
I also used the script component to accomplish the same. I have put both the solutions as file attachment . Feel free to download and deploy the lca and try it out
Click here to get the pdfhandling-repeating-elements4

Original article at http://eslifeline.wordpress.com/2008/12/22/extracting-data-from-xml-file/.