add utility function to print namedtuples
add parser of xml