I am in the beginning stages of writing a batch script to write out information to an XML file. From the research I've done, the consensus is that writing out to a xml file with a batch script is painful. Other than that though I haven't found any useful information on how to do it.
I work for a radio station and the xml file I would like to write to is used for transmitting now playing information to our website widget.
The data inside the xml looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?> <nexgen_audio_export> <audio ID="id_000000000_00000000"> <type>Song</type> <status>Playing</status> <artist>Artist</artist> <title>Song Name</title> <length_in_secs>00003600</length_in_secs> </audio> </nexgen_audio_export>
The file is on a local machine in the C directory. Any ideas on how I can write this data to an XML file?