K, now I'm confused. What I need to do is to take an HTML page/file parse it. Take the structure and regurgitate it in a string output to an html or text file. I'll just use HTML. So it would appear in the structure that an xml file appears in with respect to the root node, elements, attributes and so forth. Visually, with the inherent relationships.