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 » ascii values to use in xml file transformation

Post new topic  Reply to topic
 ascii values to use in xml file transformation « View previous topic :: View next topic » 
Author Message
Bharat
PostPosted: Tue May 14, 2002 9:33 am    Post subject: ascii values to use in xml file transformation Reply with quote

Acolyte

Joined: 14 May 2002
Posts: 61
Location: Reston, VA, USA

Hi,

I have an existing subflow that converts XML to BLOB using RCD nodes and then does some kind of transformation and converts back to XML files.

While transforming, in that compute node, ascii values were used to replace some tags with other required tags.

For ex:

SET find_seq = x'3C3F786D6C2076657273696F6E3D27312E30273F3E'; /* ascii value:<?xml version='1.0'?>*/
SET replace_seq = x'3C76657273696F6E786D6C3E3C2F76657273696F6E786D6C3E'; /* ascii value: <versionxml></versionxml> search characters */
SET RawOutputData = x'';

Now I would like to replace <?xml version="1.0" encoding="UTF-8" ?> instead of <?xml version='1.0'?>.

How can I get the ascii value of <?xml version="1.0" encoding="UTF-8" ?>?

I'm looking for help in this.

Thanks and Regards,
Bharat
Back to top
View user's profile Send private message
kirani
PostPosted: Tue May 14, 2002 9:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Hex value for <?xml version="1.0" encoding="UTF-8" ?> is,
X'3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D3822203F3E'
_________________
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
View user's profile Send private message Visit poster's website
Bharat
PostPosted: Tue May 14, 2002 3:16 pm    Post subject: ascii values to use in xml file transformation Reply with quote

Acolyte

Joined: 14 May 2002
Posts: 61
Location: Reston, VA, USA

Thanks a lot Kiran.

How can we find out these Hexadecimal values?

Could you please let me know?

Thanks and Regards,
Bharat
Back to top
View user's profile Send private message
Cliff
PostPosted: Wed May 15, 2002 3:42 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

Bharat,

go to http://www.kibria.de/ and download an excellent (and free!) hex editor.

Regards - Cliff
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Wed May 15, 2002 7:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I used MQSeries Explorer to get these values!
_________________
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
View user's profile Send private message Visit poster's website
suneelsh
PostPosted: Thu May 16, 2002 9:02 am    Post subject: Reply with quote

Acolyte

Joined: 13 Apr 2002
Posts: 69
Location: Pune,India

another easy way to get the hex values is to go to
neon formatter->literals->create a new literal

in the value of the literal on the right side of the window give the value and at the bottom you will get the hex value!
Back to top
View user's profile Send private message Send e-mail
Bharat
PostPosted: Mon May 20, 2002 6:31 am    Post subject: Thanks Reply with quote

Acolyte

Joined: 14 May 2002
Posts: 61
Location: Reston, VA, USA

Thanks a lot Cliff, kirani and suneelsh for your ideas.

Regards,
Bharat
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 » ascii values to use in xml file transformation
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.