PARSING XML with KSOAP2 + Show In Listview

SixthKnight

New Member
Attached is my xml receiving through Ksoap2 webservice , now i want to parse this xml and show in list view in my android i got able to retrieve this XML in the textview , But i want to parse it and want the result in Listview , Couldn't find any related post , So many post i read regarding this is much difficult for me to understand and they are Using SAX OR DOM services , Can I find one related to KSOAP2 \[code\]This XML file does not appear to have any style information associated with it. The document tree is shown below.<DataTable xmlns="http://tempuri.org/"><xs:schema xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="http://stackoverflow.com/questions/12777742/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/12777742/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