ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Extracting CDATA (tree) information from a message

Post new topic  Reply to topic
 Extracting CDATA (tree) information from a message « View previous topic :: View next topic » 
Author Message
learningmq
PostPosted: Wed May 03, 2006 7:22 am    Post subject: Extracting CDATA (tree) information from a message Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Wed May 03, 2006 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
madi
PostPosted: Wed May 03, 2006 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed May 03, 2006 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
learningmq
PostPosted: Wed May 03, 2006 8:56 pm    Post subject: Sorry Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Extracting CDATA (tree) information from a message
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.