Hiiii anyone plz help me ....... its very urgent.. iwant to parse xml. my xml is given below
-<response>
-<language name="English" direction="ltr" id="2">
<errors title="Error" connectionError="There was an error retrieving data from the internet!" internetRequired="An internet connection is required for this application" scanFaild="SCAN FAILED" pickAnother="Please pick another photo" OK="OK" tryAgain="Please try again." retry="RETRY" chooseAge="You must Choose Age" fillAll="You must fill all fields"></errors>
</language>
-<language name="Hebrew" direction="rtl" id="15">
<errors title="שגיאה" connectionError="שגיאה בעת חיבור לרשת!" internetRequired="לאפליקציה דרוש חיבור לאינטרנט" scanFaild="סריקה נכשלה" pickAnother="נא בחר תמונה שונה" OK="OK" tryAgain="נסה שוב בבקשה" retry="נסה שנית" chooseAge="חובה לבחור גיל" fillAll="חובה למלא את כל השדות"/>
</language>
<response>
now my code parse whole the xml. but i want parse some particuler part of this xml.
like
if laguage=="enlish" then fetch content of "connectionError",
else if laguage=="Hebrew" then content of "connectionError"..
thanx in advance...

Reply With Quote

