I am required to show a user an XMLfile in a friendly way as a result I am creating a tree like structure such as: http://thecodeplayer.com/walkthrough/css3-family-tree inst
See the xml.js package, which exports an xmllint object ported via Emscripten from libxml2.