Simple XML functions

Added By: monchanger

(3 of 5) by 2.
Rate Snippet:
Description:  This is a port to VBScript of a module I use all the time in Visual Basic. It basically lets you add sub-nodes & attributes to a node, as well as retrieving a sub-node or attribute of a given node by name. I hate the way the DOM requires a whole bunch of commands to create a node/attribute, so these provide a one-statement capability to do this. ******************************************************************* Hope it helps you, Monchanger ******************************************************************* PS- There's two great XML code snippets I saw submitted by a user named "Midlandrball". I wish I'd seen that code before writing my code the exact same way. And don't forget to use the 'db' folder for your XML files...
Language:  XML

Save to web space
E-mail Link

Code Snippet: