Added breath-first search of DOM tree and exporting of attributes/text/data