|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
(&) (<) (>) (") and (&apo |
« View previous topic :: View next topic » |
Author |
Message
|
upsscs1 |
Posted: Mon Jul 14, 2003 11:50 am Post subject: (&) (<) (>) (") and (&apo |
|
|
Newbie
Joined: 02 Jul 2003 Posts: 3
|
Hi all,
I need to find a way to convert the XML
(&) (<) (>) (") and (')
to the actual (&) (<) (>) (") (') within an element
preferably in the compute node. |
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 14, 2003 12:39 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I believe they automatically get's converted to the corresponding values internally.
For example, if your input XML message is
Code: |
<Company>AT&T</Company>
|
and if you assign this value to a CHAR variable using the following code,
Code: |
DECLARE mycomp CHAR;
SET mycomp = InputRoot.XML.Company;
|
After executing above statements, you will get AT&T into mycomp field.
I have not tested this code, but I believe this is how it works. Please correct me if I am wrong. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
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
|
|
|
|