print a list from xml