print_html_tree: support namespaced attributes