Discussion Locked

XML to create a Tree component in ASP/VB

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I've been assigned to create a tree component in ASP using VBscript and an XML document that is formatted into a hierarchical structure. I am a complete novice at XML, can anyone provide a guide to a simple example that i can learn from efficiently and effectively?
Thanks
Deborah

5 replies

by gbworld

The best site on VB and XML on the web is vbxml.com. There are plenty of free code samples that can help you get through this assignment.

The difficult part is the UI pieces. Transfering XML into a tree structure is fairly easy. If you are using IE only, you can create an ActiveX control. If not, you will have to set up the tree using JavaScript. If you can work with JavaScript, altering one of the hierarchical menu examples is your best bet. Rather than go to another site, you can just set up a static hierarchy. I do not have an URL right off for a hierarchical menu, but there is a "product" called Joust (free) which uses JavaScript for hierarchy.

With IE, the hierarchy is created automatically when you load the XML doc, but you cannot do anything with it.

Gregory A. Beamer
MCP: +I, SE, SD, DBA

This discussion is closed to new replies.