The XML message looks like as following.
 
<Item_A ID="1">
       <sub_item_1 id="1">
             <sub_sub_item_1>xyz</sub_sub_item_1>
             <sub_sub_item_2>xyz</sub_sub_item_1>
       </sub_item_1>
</Item_A> 
<Item_A ID="01">
       <sub_item_1 id="1">
             <sub_sub_item_1>xyz</sub_sub_item_1>
             <sub_sub_item_2>xyz</sub_sub_item_1>
       </sub_item_1>
</Item_A>      
<Item_B ID="01">
       <sub_item_B id="1">
             <sub_sub_item_B>xyz</sub_sub_item_B>
             <sub_sub_item_B>xyz</sub_sub_item_B>
       </sub_item_B>
</Item_B>      
<Item_A ID="02">
       <sub_item_1 id="1">
             <sub_sub_item_a>xyz</sub_sub_item_a>
             <sub_sub_item_aa>xyz</sub_sub_item_aa>
       </sub_item_1>
</Item_A>      
<Item_B ID="02">
       <sub_item_B id="2">
             <sub_sub_item_b>xyz</sub_sub_item_b>
             <sub_sub_item_b>xyz</sub_sub_item_b>
       </sub_item_B>
</Item_B>      
<Item_A ID="03">
       <sub_item_a1 id="1">
             <sub_sub_item_a>xyz</sub_sub_item_a>
             <sub_sub_item_aa>xyz</sub_sub_item_aa>
       </sub_item_a1>
       <sub_item_a2>
             <sub_sub_item_a>xyz</sub_sub_item_a>
             <sub_sub_item_aa>xyz</sub_sub_item_aa>
       </sub_item_a2>
</Item_A>      
Since number of <Item_A> and <Item_B> are changed when input messages, if I processage <Item_A>, all going to the first <Item_A> same to <Item_B>.
 
 
 
 
 
"Welch, Karen S (PLC, IT)" <[EMAIL PROTECTED]> wrote:
Are you making sure to up your subscript for the repeating tag?  If not ,you will probably just get the first one.  Just a thought, as I am not sure exactly what your code looks like.
 
Karen
-----Original Message-----
From: Michael Ke [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 9:32 AM
To: [EMAIL PROTECTED]
Subject: Repeating Tag Output

I have a XML input message where there are some repeating tags. I need to reformat those tags and add more, like adding attributes to the tag, to the output XML output message. I use a WHILE loop based on the total of input repeating tag and SET command to set the values. When I check my output results, I found that only one tag set in the output message and there is no repeating tags. Could anyone tell why I could not get the right result?
 
Thanks
 
Mike


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Reply via email to