Posted: Thu Oct 05, 2006 2:38 pm Post subject: Using ESQL to traverse MRM(TDS) message
Voyager
Joined: 28 Nov 2004 Posts: 76
Can anyone recommend an approach for traversing a MRM parsed message whereby the message contains optional structures.
For example say you have a message with the following tree structure:
InputRoot.MRM.type0 (optional repeating structure)
InputRoot.MRM.type1 (optional repeating structure)
InputRoot.MRM.type2 (optional repeating structure)
InputRoot.MRM.type3 (optional repeating structure)
InputRoot.MRM.type4 (optional repeating structure)
Is there a way to count the total number of InputRoot.MRM.type(s) and then based on
1) the total number of InputRoot.MRM.type(s)
2) contents of the type split the data(propagate) into smaller messages.
Keep in mind that functions such as CARDINALITY are not applicable unless you wanted to perform CARDINALITY on each optional InputRoot.MRM.type* and add them up ... also want to preserve InputRoot.MRM.type(s) order on the output message
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum