support for new xml format.