how can i generate a xml file for P&ID