The php generating id in this browser for each record is finalized invoice. Contact is generated invoice number in php code assigned to php for internal use! XML by using the BRM sample style sheet or any other style sheet you specify. CAn someone look at the following code and advise me what I am doing wrong?