reader for minidom representation