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 coded xml like < to real xml

Post new topic  Reply to topic
 Converting coded xml like < to real xml « View previous topic :: View next topic » 
Author Message
roger_altena
PostPosted: Wed May 29, 2002 8:53 pm    Post subject: Converting coded xml like < to real xml Reply with quote

Newbie

Joined: 29 May 2002
Posts: 3

We have some xml containing coded xml, eg.
Code:
<Text>&lt;hello&gt;there&lt;/hello&gt;</Text>

Is there an easy way to convert this to "real" xml, ie.
Code:
<Text><hello>there</hello></Text>
Back to top
View user's profile Send private message
JLRowe
PostPosted: Thu May 30, 2002 2:23 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

If you want to simply output the message, then you could change the element type of <text> to AsisElementContent. This means that its content is passed unchanged to the output bitstream (without substituting &lt; for < etc). See the XML section of working with messages.

If you wanted to use the field within the flow, then with a bit of fancy ESQL you could parse the field using CREATE FIELD PARSE(....), and insert it into the message tree.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Converting coded xml like &lt; to real 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.