An XML element lang attribute detection program