Has anybody done this? If so it would be kind of you to provide the algorithim or sample thanks. Bassicaly I want to build a JTree representation of my XML file just like how Internet Explorer displays XML files.