I have the following xml.I need to get the value of bcc,cc,main,subject from the above xml.
How can I parse this?
<?xml version="1.0" encoding="UTF-8"?>
<abc>
<pqr ref1="8340403366" ref2="0000000228754072" ref3="3200051014">
</pqr>
<errors>
<subject>Error is there</subject>
<mailto bcc="priyanka.chaddha@gmail.com" cc="richard.gayle@gmail.com"main="richard.gayle@gmail.com"/>
<text mnofield="000020"/>
</errors>
</abc>