Portal Home > Knowledgebase > Articles Database > help on how to script additions to xml file prefered through .bat
Posted by Stefan|GleSYS, 12-06-2007, 06:46 AM Hi I'm looking on ways how to edit an xml file without any human interaction, I want it to add a couple of lines automaticaly when I hit a button. what I want is for the button to activate a bat file which will activate another instance which will edit the xml file. is this possible? and if so how? Thanks in advance!
Posted by Xeentech, 12-06-2007, 10:19 PM Not sure about the .bat file part.. you'd need to find some XML apps that have command line options. The general idea here is simple enough. You load the XML file into your app with an XML parser. After this it is in memory as a data structure. You manipulate it how ever you like (add a couple lines..) then out put it. What is your working environment?
Add to Favourites Print this Article