• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Parsing a diffgram dataset xml in andriod

jenil0713

Lurker
I need to parse a XML given below,i am using responsedump to get this structure otherwise i get anytype structure.

I am a newbie to android so wanted suggestions to parse below xml.

<DataSetxmlns="http://tempuri.org/"><xs:schemaxmlns=""xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"id="NewDataSet"><xs:elementname="NewDataSet"msdata:IsDataSet="true"msdata:UseCurrentLocale="true"><xs:complexType><xs:choiceminOccurs="0"maxOccurs="unbounded"><xs:elementname="Table"><xs:complexType><xs:sequence><xs:elementname="RemMessage"type="xs:string"minOccurs="0"/><xs:elementname="InvM_Id"type="xs:int"minOccurs="0"/><xs:elementname="DocType"type="xs:int"minOccurs="0"/><xs:elementname="PrmR_TypeId"type="xs:int"minOccurs="0"/><xs:elementname="PrmR_Id"type="xs:int"minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:choice></xs:complexType></xs:element></xs:schema><diffgr:diffgramxmlns:msdata="urn:schemas-microsoft-com:xml-msdata"xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"><NewDataSetxmlns=""><Tablediffgr:id="Table1"msdata:rowOrder="0"><RemMessage>
Exeed Discount Limit on Invoice dated on 05/03/2015 for C SHAH , from 3 - Lokhandwala Showroom
</RemMessage><InvM_Id>77693</InvM_Id><DocType>3</DocType><PrmR_TypeId>3</PrmR_TypeId><PrmR_Id>1820</PrmR_Id></Table></NewDataSet></diffgr:diffgram></DataSet>​
 

Attachments

Back
Top Bottom