Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

I have a xml like
XML
- <!-- SendRequest-->
- <x:Action xmlns:x="SignIn">
  <Value1>Nilai Pertama</Value1>
  <Value2>Nilai Kedua</Value2>
  </x:Action>


How can i read the value of
- Action = "SignIn"
- Value1 = "Nilai Pertama"
- Value2 = "Nilai Kedua"

Thanks
Posted

 
Share this answer
 
Comments
Dwi Prawira 3-Aug-10 6:05am    
Can't I use XMLDocument?? how can i read it using XML Document? Any Example? I really blind about XML..
E.F. Nijboer 3-Aug-10 12:20pm    
I guess some one else has provided links how to do that :-D
If that didn't help, just add another comment and explain what still isn't clear. Good luck!
Hi,

You can find the method for read a XML in this article and with Xpath in this article
 
Share this answer
 
We can read XML with following ways
XMLReader
XMLTextReader
XPathNevigator
XMLDocument (DOM)

Just see following Link will help u

Here is XML Document
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900