After some testing, I concluded that it was not possible because the import data from XML is done for the entire form.
If fields are not defined, they will be considered void and if the data existed before they are overwritten.
Thanks for the reply, am also with no luck with this.
Any guru can confirm it is not supported?
I'm using /process_data/xml1/Form/Structure1 = /process_data/xml2/Data/Structure1
and I get the following result.
Is that not what you want?
Thanks for the reply.
I think I am missing some of the detail, which is the data will have more then one record:
And with the syntax you listed, I can only assign the first record to the target, checked the XPath syntax and tried a few with no luck
If you need more than one record, then it won't work.
You'll need to write your own function in a Script service or a custom component.