Update Main.hx

Adding hook for xml node display