A friend asked me to rewrite a piece of code he found and was working with to create a simple info visualizer for a site. The original code came from a book by Jamie MacDonald, and as it was in AS2 I found the text of limited use, though I borrowed the bones of the XML parsing function.