|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
Repeating MRM Elements Question |
« View previous topic :: View next topic » |
Author |
Message
|
TonyD |
Posted: Mon Jul 09, 2001 3:09 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
I have an inbound XML message with several nesting levels:
A
A1
A11
A12
A2
A21
B (etc.)
The number of repeats within each level are variable (and optional) and I am using a Count Field to specify the occurences.
The output message is CWF and should look like:
A A1 A11 A12 A2 A21 B etc
I am able to define repeating Elements within a Compund Type and use a Count Value to specify the number of repeats (e.g. at the A1, A2 level). However Compound Types can only contains Elements (which, I realise, can themselves be Compound Types). However, although I can specify that the Element Ann within Element An repeats it seems that I can only specify an exact count for this and lower levels.
Is this conclusion correct or have I missd something somwhere. Has anyone implemented a CWF message with multiple repeating levels as above? |
|
Back to top |
|
|
kolban |
Posted: Mon Jul 09, 2001 8:04 pm Post subject: |
|
|
Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Tony,
I think we might need a little more info on this one. In the output, I don't see a repeating fields count.
I would have suspected that your output would look like:
A <count> A1 <count> A12 A13 A2 <count> A21 etc
Can you clarify?
If your data is all character, you might consider the TREEASIS output constructor. See
http://www-4.ibm.com/software/ts/mqseries/txppacs/ia05.html
[ This Message was edited by: kolban on 2001-07-09 21:11 ] |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
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
|
|
|
|