xml parser works minus parent symptom