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 » Converting a String into XML

Post new topic  Reply to topic
 Converting a String into XML « View previous topic :: View next topic » 
Author Message
wdwpsu
PostPosted: Wed Oct 15, 2003 2:54 am    Post subject: Converting a String into XML Reply with quote

Newbie

Joined: 20 Aug 2003
Posts: 6

I have a variable assigned to
Environment.Variables.ResultTemp
which returns from the database an XML message in string format:
SET Environment.Variables.ResultTemp[] =
(SELECT A.XML_DOC
From Database.InboundLog as A
Where A.RowId=Environment.Variables.Row);

How can I convert this string to the proper XML fields so that I can parse it easier?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 15, 2003 6:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Use the 'Create Field.... Parse' command to convert a bitstream into a parsed tree.

Or set the string to the contents of the output message, and use a ResetContentDescriptor node to tell WMQI that the message is now XML data.
_________________
I am *not* the model of the modern major general.
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 » Converting a String into XML
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.