identify tei datastream properly
code for supporting tei rendering