added support for mixed attributes for text only nodes