on 04-21-2010 5:36 PM
Hi,
I have a requirement where i need to count the number of context for an element and change the target element accordingly.
For eg.,
s.l.no
1
2
3
Target Element
xxx
xxx
xxx
If the s.l.no is less than one, i just need to map as it is.
s.l.no.
1
target
1
Regards
KRish
> I have a requirement where i need to count the number of context for an element
you can use count or index
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish,
Can you please elaborate more on your requirement?
If the requirement is of creating the target element as many times as number of contexts in the source side, then below can be done:
Source Element --> collapseContext --> splitByValue(Each Value) --> Target Element
Let us know what is exactly required, somebody from the forum will help you on this.
-Tanaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.