New XML pprint method