Hello! ...how do I read an XML file and then update its values. What I would like to do is load data from an XML file onto fields on my form. I would then like to type in new values into these fields and then update the values in the XML file.
I already have my form displaying the desired values in text boxes.
I want to provide a function to write the changes to the xml file.
I dynamically create the textboxes; one for each element that needs to be displayed, then updated. I am only dealing with text and comment nodes at this time. (only want to update the text nodes.)
The created text boxes hold a few values; the text (value to be updated), and I have the xml LinePosition, Depth, and LineNumber of the associated xml "record" in question.
The text is displayed in the dynamic textboxes, the other values are accessible (parsed within the name etc)
Matt Hamutoff
I already have my form displaying the desired values in text boxes.
I want to provide a function to write the changes to the xml file.
I dynamically create the textboxes; one for each element that needs to be displayed, then updated. I am only dealing with text and comment nodes at this time. (only want to update the text nodes.)
The created text boxes hold a few values; the text (value to be updated), and I have the xml LinePosition, Depth, and LineNumber of the associated xml "record" in question.
The text is displayed in the dynamic textboxes, the other values are accessible (parsed within the name etc)
Matt Hamutoff