fix rendering: do not print empty namespaces, e.g. xmlns='', because that causes major irritations with clients