Added two more overloads of xmlCheckRootElement for convenience.