A port of idom2-pas to the current xmldom interfaces used in Delphi 2010 and newer