streaming out to xml seems to be working