drpcken
08-02-2004, 03:18 PM
Hey I'm learning to manipulate XML inside my VB.NET web application. So far I've figured out how to load the xml file into a dataset dataset.readxml and make changes to it per row and item name:
DS.Tables(0).Rows(0).Item("Name") = "NEW VALUE"
and then Dataset.writexml and rewrite this file with the new changes.
But I need to be able to search the xml file, whether it be in the dataset or not, and make changes to certain strings that are in there, and then save.
I'll have certain strings in my xml document that will have to be replaced with values I will be pulling into my application. Problem is how I will tell my application to search through the xml file and find and then replace the values I want.
Any help in the right direction woudl be greatly appreciated.
Thanks!
DS.Tables(0).Rows(0).Item("Name") = "NEW VALUE"
and then Dataset.writexml and rewrite this file with the new changes.
But I need to be able to search the xml file, whether it be in the dataset or not, and make changes to certain strings that are in there, and then save.
I'll have certain strings in my xml document that will have to be replaced with values I will be pulling into my application. Problem is how I will tell my application to search through the xml file and find and then replace the values I want.
Any help in the right direction woudl be greatly appreciated.
Thanks!