• Creating a program to fill in a template?
    5 replies, posted
I want to create a program that will fill in a template of an xml file and then save that template as a completed .xml file. What language would be good to do something like this in? And how would I go about doing it? Here's a mockup of what i'm looking to make: [img]http://img24.imageshack.us/img24/6655/devicestagecreater10.png[/img] Which would, for example, correspond to the following snippet of code in the XML file: [code] <header watermarkAlign="SET_ALIGNMENT" backgroundColor="#SET_BACKGROUND_COLOR" textColor="#SET_TEXT_COLOR"> </header> [/code] Is this even possible?
Writing is easier done than said. It's possible.
[QUOTE=Eleventeen;17749029]Writing is easier done than said. It's possible.[/QUOTE] Would you mind sharing how? Anyone?
[QUOTE=Jimmy422;17749060]Would you mind sharing how? Anyone?[/QUOTE] Create a .xml file and output the string?
VB for the easy GUI (and if not, then C#). Write to file: "<header watermarkAlign='" + alignmentVar + "' backgroundColor='" + backgroundcolorvar + "' textColor='" +colorvar + "'></header>"
[QUOTE=ltkerr0r;17750911]VB for the easy GUI (and if not, then C#). Write to file: "<header watermarkAlign='" + alignmentVar + "' backgroundColor='" + backgroundcolorvar + "' textColor='" +colorvar + "'></header>"[/QUOTE] I'm not huge on coding, could you give me an example of how to edit the file after inputting the value by a radio button or whatever it may be?
Sorry, you need to Log In to post a reply to this thread.