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 » create stylesheet declaration

Post new topic  Reply to topic
 create stylesheet declaration « View previous topic :: View next topic » 
Author Message
csongebalazs
PostPosted: Thu Apr 24, 2008 5:31 am    Post subject: create stylesheet declaration Reply with quote

Voyager

Joined: 30 Jan 2004
Posts: 78

Hi,

I have a basic question.

I would like to create an output xml message with this:

<?xml-stylesheet type="text/xsl" href="t410_magyar.xsl"?>

I use ESQL compute node to create my XML message.

Could anybody show me that ESQL which create this?

I use WMB 6.1.

Thanks,
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 24, 2008 5:37 am    Post subject: Re: create stylesheet declaration Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

csongebalazs wrote:
Could anybody show me that ESQL which create this?


Something like:

Code:
SET OutputRoot.XMLNSC.(XMLNSC.ProcessingInstruction) = ...


Utterly untested, use at your own risk, no liability accepted for loss or damage, blah, blah, blah.

Or look it up in the ESQL manual.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
csongebalazs
PostPosted: Thu Apr 24, 2008 5:45 am    Post subject: Reply with quote

Voyager

Joined: 30 Jan 2004
Posts: 78

Hi,

With some help, I found the solution

SET OutputRoot.XML.(XML.ProcessingInstruction)"xml-stylesheet" = 'type="text/xsl" href="t410_magyar.xsl"';

Regards,
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 24, 2008 5:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

csongebalazs wrote:
SET OutputRoot.XML.(XML.ProcessingInstruction)"xml-stylesheet" = 'type="text/xsl" href="t410_magyar.xsl"';


If you're on v6.1, you shouldn't be using the XML domain for anything, certainly not anything new. It's depreciated, and only remains for backward compatibility.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » create stylesheet declaration
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.