def _tag_from_clark(name):
 match = CLARK_TAG_REGEX.match(name)
 if (match and (match.group('namespace') in NAMESPACES_REV)):
  args = {'ns': NAMESPACES_REV[match.group('namespace')], 'tag': match.group('tag')}
  return ('%(ns)s:%(tag)s' % args)
 return name

def _tag_from_clark ( name ) : match = CLARK_TAG_REGEX . match ( name ) if ( match and ( match . group ( 'namespace' ) in NAMESPACES_REV ) ) : args = { 'ns' : NAMESPACES_REV [ match . group ( 'namespace' ) ] , 'tag' : match . group ( 'tag' ) } return ( '%(ns)s:%(tag)s' % args ) return name
get a human-readable variant of the xml clark notation tag name .