AttachEvent won't link to webpage

I’m using the following code to create a simple XML based site map; here is the code;




Here is a snippet of the XML. Only the first line is formatted as a link;

<?xml version='1.0' encoding='iso-8859-1'?>






Here is a link to a live page;

I have to comment out the attachEvent function or the tree will load and then immediately go to the “PAGE NOT FOUND MESSAGE” and you cannot see the source code.

Please Help!

The select=“1” and call=“1” attributes mean that onClick event will be called for an item. In case of your xml, for “root” item:

Userdata isn’t defined for this node and tree.getUserData(“root”,“url”) returns undefined