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 » How to parse the xml string into the message tree?

Post new topic  Reply to topic
 How to parse the xml string into the message tree? « View previous topic :: View next topic » 
Author Message
longtail
PostPosted: Fri May 09, 2008 6:07 am    Post subject: How to parse the xml string into the message tree? Reply with quote

Novice

Joined: 27 Jan 2008
Posts: 15

I have a message tree
InputRoot
XMLNS
STR '<BOOK><TITLE>bookTitle</TITLE>
<PRICE>0.001</PRICE></BOOK>'

I need to parse the string InputRoot.XMLNS.STR into nodes:

InputRoot
XMLNS
STR
BOOK
TITLE bookTitle
PRICE 0.001

when I use the asbitstream and parse functions, the created field keeps unchanged(same as STR), How could do this in ESQL?

Thanks very much!
Back to top
View user's profile Send private message
srikanth av
PostPosted: Fri May 09, 2008 8:08 am    Post subject: Reply with quote

Apprentice

Joined: 30 Jun 2005
Posts: 37

Hello,
Can you little bit clear in what you want to acheive?How you are taking the input?
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Mon May 12, 2008 12:58 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You can parse a string to create a message tree using CREATE with the PARSE clause. There a lots of examples if you use the search button.
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 » How to parse the xml string into the message tree?
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.