Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to read a generated XML from .Net Service in Java
    primarykey
    data
    text
    <p>sorry for the silly question but this is y third week in android i created an application connected to MS SQL Server and got the data using .Net web service and read the XML result in Android using "REST" and it generated String contains the following XML data :</p> <pre><code>&lt;DataSet xmlns="http://tempuri.org/"&gt; &lt;xs:schema xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="NewDataSet"&gt; &lt;xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"&gt; &lt;xs:complexType&gt; &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt; &lt;xs:element name="Members"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="ID" type="xs:int" minOccurs="0"/&gt; &lt;xs:element name="First_x0020_Name" type="xs:string" minOccurs="0"/&gt; &lt;xs:element name="Last_x0020_Name" type="xs:string" minOccurs="0"/&gt; &lt;xs:element name="Email_x0020_Address" type="xs:string" minOccurs="0"/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:choice&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:schema&gt; &lt;diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"&gt; &lt;NewDataSet xmlns=""&gt; &lt;Members diffgr:id="Members1" msdata:rowOrder="0"&gt; &lt;ID&gt;4&lt;/ID&gt; &lt;First_x0020_Name&gt;Jane&lt;/First_x0020_Name&gt; &lt;Last_x0020_Name&gt;Doe&lt;/Last_x0020_Name&gt; &lt;Email_x0020_Address&gt;janedoe@yahoo.com&lt;/Email_x0020_Address&gt; &lt;/Members&gt; &lt;Members diffgr:id="Members2" msdata:rowOrder="1"&gt; &lt;ID&gt;3&lt;/ID&gt; &lt;First_x0020_Name&gt;Bob&lt;/First_x0020_Name&gt; &lt;Last_x0020_Name&gt;Jones&lt;/Last_x0020_Name&gt; &lt;Email_x0020_Address&gt;bob@yahoo.com&lt;/Email_x0020_Address&gt; &lt;/Members&gt; &lt;/NewDataSet&gt; &lt;/diffgr:diffgram&gt; &lt;/DataSet&gt; </code></pre> <p>my QUestion is how to get this String and display the data in the XML in pretty Format ?! Sorry again for the silly Question but i have done many researches and they all call Files or URI or the URL</p> <p>the thought i got is to get the string and create Class has Objects of member and return array list of this objects and display it in the interface , but i really don know how </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload