change xml parser to DomDoc