Correctly handle namespaces in generated Docbook