statistics from xml data source