cancel
Showing results for 
Search instead for 
Did you mean: 

sorting

Former Member
0 Kudos

I have a requirement in mapping , have to sort the node based on qualifier:

for example :

source I have

1st node:

E1edpt1

TDID= Best

E1edpt2

TDLINE ==some jazz

2nd node:

E1edpt1

TDID= ZREF

e1edpt2

TDLINE=== some jazz

Requirement is in the target I want node with TDID =ZREF to appear before TDID= Best .....(e1edpt2 being the child node for e1edpt1)

Thanks for your help

Regards

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

You need to manipulate that using mapping:

For E1edpt1


E1edpt1 -> E1edpt1

For TDID



TDID -> removeContext -> sort:lexicographical case insensitive descending -> splitByValue:eachValue -> TDID

For E1edpt2


E1edpt2 -> E1edpt2

For TDLINE



TDLINE -> removeContext -> sort:lexicographical case insensitive descending -> splitByValue:eachValue -> TDLINE

Hope this helps,

Mark

Edited by: Mark Dihiansan on Jan 16, 2012 2:13 AM

Answers (0)