Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Looping through records in XML Variable !!

$
0
0

Hi,

 

I am getting no way how to do this. I am getting the below XML from a custom DSC component. Now I need to process it.

 

<root>    <records total_records="4">        <record>            <jobno>1122</jobno>            <cust_name>Abhinav</cust_name>            <email>abhinavs@plabs.com</email>            <stat>1</stat>        </record>        <record>            <jobno>2233</jobno>            <cust_name>Doctor Dhober</cust_name>            <email>abhinavs@plabs.com</email>            <stat>0</stat>        </record>        <record>            <jobno>4666</jobno>            <cust_name>Vinau Dubey</cust_name>            <email>abhinavs@plabs.com</email>            <stat>1</stat>        </record>        <record>            <jobno>7677</jobno>            <cust_name>Nelesh Poda</cust_name>            <email>abhinavs@plabs.com</email>            <stat>0</stat>        </record>    </records></root>

 

Now I need to loop through every record & do some stuff for each one. In my process I have to send a mail to each of the user in the XML file. I tried it using SET VALUE's Node Set Functions, but not successful. Any help.

 

Thanks.

 


-

Abhinav


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>