Posted: Tue Nov 18, 2008 10:50 am Post subject: How to specify only element without its child in mapping
Disciple
Joined: 17 Jul 2002 Posts: 184
I am using mapping node to do some message conversion.
I drag one source element EquivalentAmount to target element invoiceAmount, and the toolkit generate expression as:
$source/serviceRequest/EquivalentAmount
But the EquivalentAmount is XML element which has attribute as:
<EquivalentAmount Currency='USD'>0</EquivalentAmount>, so the result is not only 0 is assigned to invoiceAmount, but also a child element Currency is also created under invoiceAmount which I don't want to have.
So Could anyone tell how to solve this problem?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum