Display document hierarchy as a tree