[Help!] Writing to XML files - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [Help!] Writing to XML files (/showthread.php?tid=62572) [Help!] Writing to XML files by rob_botch on 07-05-2006 at 11:25 AM
I want to write a script which has one part of its function to log certain messages to an xml file. Each time the script is run, it will add a few tags. for example, <Message>...</Message> for each message. Of course, it will have to have tags around the whole file, such as <Messages>...</Messages>. My query is this: How would I discard the last line of the saved file before writing the new tags? The closing tag would then be added back on. RE: [Help!] Writing to XML files by -dt- on 07-05-2006 at 11:56 AM
err why not use the XML com object? code: RE: [Help!] Writing to XML files by rob_botch on 07-05-2006 at 12:52 PM
Thank you for your help. RE: [Help!] Writing to XML files by mathieumg on 07-05-2006 at 06:50 PM
code: Hope this helps |