Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help on xml attributes

Status
Not open for further replies.

varavoorvishnu

Programmer
Sep 9, 2002
45
how to search in an xml file and change the value of the attributes depending on that search using c#coding by xpath

 
I don't speak C# that well, but anyways:
Instantiate an MSXML.DOMDocument,
load it with your xml (you can load string using LoadXML(...), or load from file using Load(...) )
After that you can access nodes, nodelists, attributes, etc, using x-path.
Take a look at the help that goes with MSXML.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top