I want to inject some values from other XML to the form source XML i.e. I have to add or edit different types of fields in the form when the form loads.
Is that possible to manipulate the source XML with some other XML dynamically?
No it is not possible. The source XML is not available at the time of render. You would need to have these fields in the form and use hide/show rules.