Hi all, I am getting a complex XML containing diffgram. The Part of xml is as follows
========================================================== <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <fetchclaimResponse xmlns="http://tempuri.org/"> <fetchclaimResult> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/ XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="claimdata"> <xs:complexType> <xs:sequence> <xs:element name="claim_no" type="xs:string" minOccurs="0"/> <xs:element name="assign_date" type="xs:string" minOccurs="0"/> <xs:element name="insured" type="xs:string" minOccurs="0"/> <xs:element name="status" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> </xs:schema> <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"> <NewDataSet xmlns=""> <claimdata diffgr:id="claimdata1" msdata:rowOrder="0"> <claim_no>10001</claim_no> <assign_date>08/08/2005</assign_date> <insured>bajaj</insured> <status>In-Progress</status> </claimdata> <claimdata diffgr:id="claimdata2" msdata:rowOrder="1"> <claim_no>11111</claim_no><assign_date>11111111</ assign_date><insured>wddf</insured><status>Pending</status> </claimdata> ================================================================== I have no idea how to parse the XML. Please help me guys ...I have googled a lot but found nothing how to get the data inside Claimdata TAG. I need some tips from anyone who have any idea regarding this. Thanks Quest --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---