I'm unable to parse the following xml Since child node has multiple entries. unable to keep the read val
<root> <EnbProfile> <Name>H1K-SAM_untag</Name> <Hardware>armony1000</Hardware> <PlmnList> <Plmn> <Mcc>312</Mcc> <Mnc>198</Mnc> </Plmn> <Plmn> <Mcc>389</Mcc> <Mnc>156</Mnc> </Plmn> </PlmnList> </EnbProfile> <EnbProfile> <Name>SAM_untag</Name> <Hardware>Armony1001</Hardware> <PlmnList> <Plmn> <Mcc>310</Mcc> <Mnc>120</Mnc> </Plmn> <Plmn> <Mcc>312</Mcc> <Mnc>190</Mnc> </Plmn> </PlmnList> </EnbProfile> </root> I'm new to SAX parser. Can anyone help me in resolving it. I want to read all parent and multiple child nodes.
No comments:
Post a Comment