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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update a node value in XML

Status
Not open for further replies.

Kenbla

Programmer
Oct 11, 2006
68
SE
Hello, I have an XML document stored in an SQL Server blob, and now I want to read the blob and transform it to XML (no problems there) and finally update one node value in the XML! How do I do that?
My program does the following:
1. I read the table "TableA", one of the columns is a blob "blobA"
2. I load the XML using CreateAndLoadFromStream(TableA.blobA));
3. I select the node I want to update using XMLRootNode.selectSingleNode('T8800/T8802');
4. Here is my problem. I don't know how to proceed! How do I modify the value in the node I have selected ('T8802')? and how do I "reload" the blob with the new value?
I appreciate any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top