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 » PI in MRM

Post new topic  Reply to topic
 PI in MRM « View previous topic :: View next topic » 
Author Message
dieter
PostPosted: Thu Sep 12, 2002 12:37 am    Post subject: PI in MRM Reply with quote

Newbie

Joined: 01 Jul 2002
Posts: 6

We are using WMQI 2.1 with CSD 3 and would like to use MRM with our XML messages. Is there anyway to create PI (ProcessInstruction) with MRM?????
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Sep 12, 2002 4:08 pm    Post subject: Reply with quote

Jedi Knight

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

You should be able to produce XML output message with Processing Instructions information in WMQI 2.1.
For example,

Code:

SET OutputRoot.XML."xsl:processing-instruction".(XML.Attribute)name = 'xml-stylesheet';
SET OutputRoot.XML."xsl:processing-instruction".(XML.AsisElementContent) = 'href="style.css" type="text/css"';


gives following output:
Quote:

<xsl:processing-instruction name="xml-stylesheet">href="style.css" type="text/css"</xsl:processing-instruction>

_________________
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
Tibor
PostPosted: Thu Sep 12, 2002 10:56 pm    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

kirani wrote:
You should be able to produce XML output message with Processing Instructions information in WMQI 2.1.

Kiran,

I think dieter asked something else. You can set XML atributes in XML domain, but not in MRM domain. There is a possible solution is a domain switching before MQOutput, for example:
Code:
-- <copy message headers on>
SET OutputRoot.XML.Data = InputRoot.MRM;
-- then
SET OutputRoot.XML."xsl:processing-instruction".(XML.Attribute)name = ...
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 » PI in MRM
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.