How can I read this xml?
-
<fres:feinsearchresponse xmlns:fres="http://api.feinsearch.com/apiresponse"> - fres:searchresults - fres:searchresult <EIN>320095501</EIN> </fres:searchresult> </fres:searchresults> </fres:feinsearchresponse>
“You will never be a leader unless you first learn to follow and be led.” –Tiorio "Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
-
<fres:feinsearchresponse xmlns:fres="http://api.feinsearch.com/apiresponse"> - fres:searchresults - fres:searchresult <EIN>320095501</EIN> </fres:searchresult> </fres:searchresults> </fres:feinsearchresponse>
“You will never be a leader unless you first learn to follow and be led.” –Tiorio "Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
-
<fres:feinsearchresponse xmlns:fres="http://api.feinsearch.com/apiresponse"> - fres:searchresults - fres:searchresult <EIN>320095501</EIN> </fres:searchresult> </fres:searchresults> </fres:feinsearchresponse>
“You will never be a leader unless you first learn to follow and be led.” –Tiorio "Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
-
Using eyes and brain. I think you would like to rephrase your question.
जय हिंद Rajdeep.Net[^] is NOT from India. Proof.[^]
-
I mean how can i parse it.,
“You will never be a leader unless you first learn to follow and be led.” –Tiorio "Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
-
Actually it is output from a webservice but now i want to parse it. how do i ? is this will work XmlTextReader reader = new XmlTextReader("C:\\links.xml"); while (reader.Read()) { XmlNodeType nodeType = reader.NodeType; switch (nodeType) { case XmlNodeType.Element: Console.WriteLine("Element name is {0}", reader.Name); if (reader.HasAttributes) { for (int i = 0; i < reader.AttributeCount; i++) { reader.MoveToAttribute(i); Console.WriteLine("Attribute is {0} with Value {1}: ", reader.Name, reader.Value); } } break; case XmlNodeType.Text: Console.WriteLine("Value is: " + reader.Value); break; } }
“You will never be a leader unless you first learn to follow and be led.” –Tiorio "Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
-
Actually it is output from a webservice but now i want to parse it. how do i ? is this will work XmlTextReader reader = new XmlTextReader("C:\\links.xml"); while (reader.Read()) { XmlNodeType nodeType = reader.NodeType; switch (nodeType) { case XmlNodeType.Element: Console.WriteLine("Element name is {0}", reader.Name); if (reader.HasAttributes) { for (int i = 0; i < reader.AttributeCount; i++) { reader.MoveToAttribute(i); Console.WriteLine("Attribute is {0} with Value {1}: ", reader.Name, reader.Value); } } break; case XmlNodeType.Text: Console.WriteLine("Value is: " + reader.Value); break; } }
“You will never be a leader unless you first learn to follow and be led.” –Tiorio "Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
Mogaambo wrote:
is this will work
you'll never know until you've tried it!
regards :)
-
Using eyes and brain. I think you would like to rephrase your question.
जय हिंद Rajdeep.Net[^] is NOT from India. Proof.[^]
d@nish wrote:
Using eyes and brain.
:laugh: :laugh: mogaambo khush nahin huwa ;P
regards :)