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 » processing instruction problem

Post new topic  Reply to topic
 processing instruction problem « View previous topic :: View next topic » 
Author Message
KimT
PostPosted: Fri May 07, 2004 5:07 am    Post subject: processing instruction problem Reply with quote

Novice

Joined: 07 May 2004
Posts: 17
Location: Hartford, CT

I used the following:

SET OutputRoot.XML.(XML.ProcessingInstruction) = 'KIM version="1.1.1"';

However the output is coming out as <? KIM version="1.1.1"?>

The space before KIM is invalid. How do I correct?

Back to top
View user's profile Send private message
fschofer
PostPosted: Sun May 09, 2004 1:25 pm    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi, this may work (untested)

SET OutputRoot.XML.(XML.ProcessingInstruction)KIM = 'version="1.1.1"';

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
KimT
PostPosted: Tue May 11, 2004 9:25 am    Post subject: Reply with quote

Novice

Joined: 07 May 2004
Posts: 17
Location: Hartford, CT



SET OutputRoot.XML.OT.(XML.ProcessingInstruction)Kim = 'version="1.1.1"';

where OT is your outer tag name.

It seems PI's cannot be placed at the top of an xml stream thru mqsi. It must follow at least the first outer tag of your stream.

So I resolved by handling a blob concatenation of the item to the top of my xml stream.

thanx!
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 » processing instruction problem
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.