Reading XML to build the menu

I am in need to write a lotus script agent (triggered in web query open) which will read/parse through the xml file to build the menu on the web page. Has anyone done anything similar? Are there issues I would need to be aware of? Any help will be greatly appreciated.

Subject: Reading XML to build the menu

Be aware that this could be a potential performance blackspot. Using WQO agents on high-use sites can be iffy, let alone agents that do something as time-consuming as parsing XML into a menu structure.

As for the code, look at the new XML-related classes in Lotusscript. There is plenty of example code in the Designer help file to get you started.