I'm trying to read a number of values into the console, and populate an XML file with them. I've already managed to append an XML file and insert values into an existing XML file to populate empty nodes but I was looking at generating a new one from a large string. Something along the lines of:
1) set the the value of a variable to the header of the xml document.
2) read in a value and concatenate it to the variable.
3) do the same thing a few more times for some more values.
4) add the xml footer.
5) then output the big long variable as a formatted xml file.
I've seen a few articles on how to go about doing this but I can't get it to work so I've come up with nothing. Any ideas?
Thanks in advance


