def _splitPrefix(name):
 ntok = name.split(':', 1)
 if (len(ntok) == 2):
  return ntok
 else:
  return (None, ntok[0])

def _splitPrefix ( name ) : ntok = name . split ( ':' , 1 ) if ( len ( ntok ) == 2 ) : return ntok else : return ( None , ntok [ 0 ] )
internal method for splitting a prefixed element name into its respective parts .