fix #14 mixed bug in mixed xml and text content