compiler for minidom representation