|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PI in MRM |
« View previous topic :: View next topic » |
Author |
Message
|
dieter |
Posted: Thu Sep 12, 2002 12:37 am Post subject: PI in MRM |
|
|
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 |
|
 |
kirani |
Posted: Thu Sep 12, 2002 4:08 pm Post subject: |
|
|
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 |
|
 |
Tibor |
Posted: Thu Sep 12, 2002 10:56 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|