if parent.tag == 'sem':
if parent.get('type') == 'theme':
pd['themes'] += map(unicode.strip, unicode(parent.get('theme')).split(','))
if parent.tag == 'sem':
if parent.get('type') == 'theme':
pd['themes'] += map(unicode.strip, unicode(parent.get('theme')).split(','))