|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Converting XML to TDS problem. |
« View previous topic :: View next topic » |
Author |
Message
|
akkati |
Posted: Thu Feb 13, 2003 7:18 pm Post subject: Converting XML to TDS problem. |
|
|
Novice
Joined: 31 Jul 2002 Posts: 12 Location: Singapore
|
Hi,
I am facing converting XML to TDS.
I have simple flow, input --> compute--> output.
Input message is XML and out put should be TDS. Everything is working fine except Carriage Return is not appering in output message.
I have created Message set.
example:
I have created 4 elements.
I have created compound type Sub_Detail_Type which contains one line with delimeter as "|". other compound type is Detail_Type which is sub_detail_type. This can contain multiple rows in message i defined <CR><LF> as delimeter for this. and i set as repeat "YES" also.
in compute node i am manipulating MRM.
my input is
<A>a</A><B>B</B><C>C</C><D>D</D>
<A>a</A><B>B</B><C>C</C><D>D</D>
out put is:
A|B|C|DA|B|C|D
actually i need out put as :
A|B|C|D
A|B|C|D
pls can some one help me why this is happening
--vikram |
|
Back to top |
|
 |
kirani |
Posted: Sat Feb 15, 2003 12:35 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Vikram,
Try using these properties for repeating Type element:
Data Element Separation: All Elements Delimited
Delimiter: |
Repeating Element Delimiter: <CR><LF>
Top level Compound Type:
Data Element Separation: All Elements Delimited
Delimiter: | _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
akkati |
Posted: Tue Feb 18, 2003 12:53 am Post subject: |
|
|
Novice
Joined: 31 Jul 2002 Posts: 12 Location: Singapore
|
Thanks kiran,
I did the you told, even then it is not working. I don't know y?
I manage to solve it by using Block Terminator <CR><LF>.
is there any problem with that.
thanks
--vikram |
|
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
|
|
|
|