Joe Marini has developed a tool called the DOMDumper free for download. It’s a single js file, and then you create the following link


<p><a href="javascript:DumpDOM(document, ' ')">Show Structure</a></p>

My thought is that it would be good to modify the script so that you can check the structure of a document from outside the doc itself.