I’m trying to read from an Xml file like this:
<book>
<title>foo</title>
<author>foo</author>
<publisher>foo</publisher>
</book>
and I want to read in each element and write them to another file but I want the inner text in the child nodes to come from text boxes on my form. I am so lost. I tried it with an XmlReader and XmlWriter but It didnt really work for me.
:toad:
Also later on I want to read the child node tags (title, author, publisher) into labels on the form and the inner text into text boxes on the form. like this:
Title: foo
Author: foo
Publisher: foo
If this is possible.? Any help is appreciated. I do have the unworking code if someone wants to see what I have. :mario:
Basically, it would have to be a method to be able to read any file and write the elements to another file with the element content from text boxes.