I followed it up to the point but I am getting stuck at step 4. I am not able to assign value to fields using xpath. I am using xdp form and storing it in a xfaform input variable. Can someone please help me out with this problem? Is this the correct way of achieving prepopulation in this type of form?
Thanks for your help. In your example you have defined schema of your xml file. My problem is I am getting xml schema from document and then trying to update this form. I am not able to set value of field with a string value properly because I am not able to address it properly.