Rank: Member
Joined: 8/26/2008 Posts: 16 Location: OH
|
I need to check for an empty element in the input: if it is empty, ignore else do the mapping.
if the input is: <list></list>, no output if the input is: <list><a/><b/><c/></list>, do the mapping.
If there is any way to check for empty element in MapForce
|
Rank: Advanced Member
Joined: 5/16/2009 Posts: 82
|
Hi,
I suppose 'a', 'b' and 'c' are optional in your schema. So, what's about using an 'exist' function and a filter component? You could connect the result of 'exist' to the 'bool' input and 'List' to the 'node/row' input.
N.B. Of course your case could be different, if so you should post your mfd file as well as the related input files. Rocco attached the following image(s):

|