Parsing XML into TableView in Android

sophayyyyyyy

New Member
Created .asmx WebService resulting in the XML , i want to Parse this XML into table view in my android application Refer me to some links where i could learn how to parse xml into table view through KSOAP2 WebService \[code\] "<DataTable xmlns="http://tempuri.org/"><xs:schema xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="http://stackoverflow.com/questions/12760610/urn:schemas-microsoft-com:xml-msdata" id="NewDataSet"><xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="MyDT" msdata:UseCurrentLocale="true"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:element name="MyDT"><xs:complexType><xs:sequence><xs:element name="P_Id" type="xs:int" minOccurs="0"/><xs:element name="ReportName" type="xs:string" minOccurs="0"/><xs:element name="Query" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:choice></xs:complexType></xs:element></xs:schema><diffgr:diffgram xmlns:msdata="http://stackoverflow.com/questions/12760610/urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"><DocumentElement xmlns=""><MyDT diffgr:id="MyDT1" msdata:rowOrder="0"><P_Id>1</P_Id><ReportName>KI Graph</ReportName></MyDT><MyDT diffgr:id="MyDT2" msdata:rowOrder="1"><P_Id>2</P_Id><ReportName>LOSS DATA</ReportName></MyDT><MyDT diffgr:id="MyDT3" msdata:rowOrder="2"><P_Id>3</P_Id><ReportName>RCSA</ReportName></MyDT><MyDT diffgr:id="MyDT4" msdata:rowOrder="3"><P_Id>4</P_Id><ReportName>CONFIGURATION</ReportName></MyDT><MyDT diffgr:id="MyDT5" msdata:rowOrder="4"><P_Id>5</P_Id><ReportName>MODEL AND HIERARCHY</ReportName></MyDT></DocumentElement></diffgr:diffgram></DataTable> "\[/code\]
 
Back
Top