Selections work except for the mixed content

I should threat xpath more carefully, mixing text and nodes is
destructive - will fix it next rev