Robust against complex text-nodes contains comments, PIs, etc.