'The namespace prefix of this element, the empty string (``\'\'``) if
the tag is in the default namespace.'

@property
def nspfx(self):

    tagname = self._tagname
    idx = tagname.find(':')
    if (idx == (-1)):
        return ''
    return tagname[:idx]
