on 06-09-2010 1:04 PM
Hi all
I have a source structure like this :
<DETAIL>
<IDENTIFIER>D</IDENTIFIER>
<Format>1</Format>
</DETAIL>
<DETAIL>
<IDENTIFIER>D</IDENTIFIER>
<Format>1</Format>
</DETAIL>
<DETAIL>
<IDENTIFIER>D</IDENTIFIER>
<Format>1</Format>
</DETAIL>
and the target is
<ZE1DETAIL SEGMENT="1">
<RECTYPE>1</RECTYPE>
<FORMAT>a</FORMAT>
</ZE1DETAIL>
<ZE1DETAIL SEGMENT="1">
<RECTYPE>2</RECTYPE>
<FORMAT>a</FORMAT>
</ZE1DETAIL>
<ZE1DETAIL SEGMENT="1">
<RECTYPE>3</RECTYPE>
<FORMAT>a</FORMAT>
</ZE1DETAIL>
i want my target node to have a counter 1 to n where n is the number of detail tag occurring in the source node.
How to do it ??
detail - removeContexts - index - splitByValue - RECTYPE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Index standard function, you can achieve your requirement.
Regards
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.