How can i force a field being created in a map
Hi,
I have a simple map with below input and output schema
input map
=========
<root.1>
<field.1.1> (occurence 0 - unbounded)
<field.1.2>
<root.1>
output map
=========
<root.2>
<field.2.1> (occurence 0 - unbounded)
<field.2.2>
<root.2>
I have a custom functoid adding some spaces to field.2.1 in case field.1.1 is empty
What i would like this map todo is always to create field.2.1 and execute my functoid
I looked at the xsxlt and the problem is that a for each loop is created and my functoid code is in the loop
So there is no way a field.2.1 is created and executing my functoid
I think i can add some custom xslt before the foreach (i'm not sure)
But is there another way to do this?
I don't prefer doing this in xslt because i haven many fields having this problem
Any ideas what the best way is to do this?
Thanx
JTF
|