the xml file im trying to add to has a node "cfgappif"
there are child nodes for each instance of "cfgappif"
i want to add another "cfgappif"
i can read it in just fine with the statement
dsSettings.readxml("xmlfilename.xml")
dt = dsSettings.tables("cfgappif")
dr = dt.rows(x)
i add a new row to the dataset.
when i try to write it back to the xmlfile with the statement
dsSettings.writexml("xmlfilename.xml")
it gives me an error that writing would result in an invalid xml document.
there are child nodes for each instance of "cfgappif"
i want to add another "cfgappif"
i can read it in just fine with the statement
dsSettings.readxml("xmlfilename.xml")
dt = dsSettings.tables("cfgappif")
dr = dt.rows(x)
i add a new row to the dataset.
when i try to write it back to the xmlfile with the statement
dsSettings.writexml("xmlfilename.xml")
it gives me an error that writing would result in an invalid xml document.