docs: def ns(self, prefix, tag):
          """
          Given a prefix and an XML tag, output the qualified name
          for proper namespace handling on output.
          """
          return etree.QName(self.prefixes[prefix], tag)