|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Extracting CDATA (tree) information from a message |
« View previous topic :: View next topic » |
Author |
Message
|
learningmq |
Posted: Wed May 03, 2006 7:22 am Post subject: Extracting CDATA (tree) information from a message |
|
|
Newbie
Joined: 03 May 2006 Posts: 3
|
Hi ,
I have to extract the CDATA information from the message tree.
& then use this information (that is "child1" tree) for processing.
Following is the input message structure :
<Root>
<A>
</A>
<Message>
<![CDATA[ <!DOCTYPE abc SYSTEM>
<Child1>
<Child2>
</Child2>
</Child1>
]]>
</Message>
</Root>
Expected Output which needs to be parsed:
<Child1>
<Child2>
</Child2>
</Child1>
It will be great if anyone can please help me in this regard as to how we can achieve this.
Thanks in advance
A |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed May 03, 2006 9:49 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi A,
Please do NOT send private emails to people requesting help for a particular posting. Obviously, you are randomly picking people or picking people wih high message posting count. This is extremely rude.
I have never used WBI/WMQI/MQSI products; hence, I would not have any idea what your problem is. But I do have to ask: did you read the manual?
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
madi |
Posted: Wed May 03, 2006 6:37 pm Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
i think you use something like this
Code: |
OutputRoot......XMLData = FIELDVALUE(InputRoot.Root.message.(XML.CDataSection)); |
--madi |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 03, 2006 7:55 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
RogerLacroix wrote: |
Obviously, you are randomly picking people or picking people wih high message posting count. This is extremely rude. |
This bears repeating.
It is EXTREMELY rude to private message people who don't know you, and ask them to either solve your problem FOR FREE AND IN PRIVATE, or even worse to REPEAT your public message in private.
If you want help, post it publicly.
If you don't like the answers you get publicly, pay a consultant. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
learningmq |
Posted: Wed May 03, 2006 8:56 pm Post subject: Sorry |
|
|
Newbie
Joined: 03 May 2006 Posts: 3
|
I am really sorry Sir for sending a private message for this posting.
Actually I am pretty new to technology as well as this forum & not aware of the best practices followed.
I will not repeat these kinda things going further.
Regards. |
|
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
|
|
|
|