mod replace pdom with Xap