Update XMLElementList to support text element list

Can't we do this job in the extra?