How do I create an interface to update an XML template?
July 23, 2007 9:26 AM
Subscribe
How do I go about creating a simple interface to update only certain specific nodes in different XML templates?
I have several XML templates which I use over and over again, updating the same specific nodes every time. At present I just do this by searching for the name of the node in the document, nexting through until I find the right ones, and then pasting in the new text. It strikes me that an interface which asks me to enter only the specific data I need to change and then updates the template for me would be a great great improvement - I do I go about creating such a thing, or where would I go to start learning how to do so?
(One caveat - there are multiple versions of the same nodes within the template, but I only need to update certain ones. So, for example, there are 20 "album" tags, each of which has let's say 10 "song" tags each, but I only need to update the 3rd song of the 5th album every time I reuse the template.)
Although I've never done anything like this before - and I only have basic programming knowledge - I'm *imagining* that creating an interface (a web interface?) which allows me to enter the template path and the new specific data shouldn't be brain surgery. I can learn pretty fast, and I'm looking at this half as a way to make my life easier, and half as a great opportunity to learn how to do something new.
posted by The_Partridge_Family to computers & internet (5 comments total)
type thing, and spits it out. (note: that example would open you up to XSS if you put it online. it's just a synopsis.)
But I don't see this happening without some knowledge of PHP or a similar scripting language...
posted by tmcw at 9:44 AM on July 23, 2007