<?xml version="1.0" encoding="utf-8" ?>
<yesone>
<doc>
<doc_type>B</doc_type>
<seq>2015121100007453</seq>
<att_year>2015</att_year>
<att_FrmMm>0</att_FrmMm>
<att_ToMm>0</att_ToMm>
<att_inqrMm>01,02,03,04,05,06,07,08,09,10,11,12</att_inqrMm>
</doc>
<form form_cd="D101Y">
<man resid="6611201653606" name="dolch">
<data dat_cd="D01" busnid="1168140432" trade_nm="gagag(sa)" acc_no="00001532">
<start_dt>19940708</start_dt>
<end_dt>99991231</end_dt>
<com_cd>434</com_cd>
<sum>1041000</sum>
</data>
</man>
</form>
<form form_cd="E102Y">
<man resid="6611201653606" name="dolch">
<data dat_cd="E01" busnid="1244661351" trade_nm="gwerqreqxd" acc_no="9601687930560">
<com_cd>110</com_cd>
<ann_tot_amt>1200000</ann_tot_amt>
<tax_year_amt>0</tax_year_amt>
<ddct_bs_ass_amt>1200000</ddct_bs_ass_amt>
</data>
</man>
</form>
<form form_cd="F102Y">
<man resid="6611201653606" name="dolch">
<data dat_cd="F01" busnid="6108155691" trade_nm="(asd)gagsgs" acc_no="21010625891874">
<com_cd>150</com_cd>
<pension_cd>12</pension_cd>
<ann_tot_amt>8519160</ann_tot_amt>
<tax_year_amt>0</tax_year_amt>
<ddct_bs_ass_amt>8519160</ddct_bs_ass_amt>
</data>
</man>
</form>
</yesone>
How can I Convert this XML to Java Map?
Also, please give me an advice about library that I need to do this.
And what I want, as it follows
doc_type=B,seq=2015121100007453,att_year=2015,att_FrmMm=0,att_ToMm=0,att_inqrMm=01,02,03,04,05,06,07,08,09,10,11,12 .......................~