|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
create stylesheet declaration |
« View previous topic :: View next topic » |
Author |
Message
|
csongebalazs |
Posted: Thu Apr 24, 2008 5:31 am Post subject: create stylesheet declaration |
|
|
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 |
|
 |
Vitor |
Posted: Thu Apr 24, 2008 5:37 am Post subject: Re: create stylesheet declaration |
|
|
 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 |
|
 |
csongebalazs |
Posted: Thu Apr 24, 2008 5:45 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Thu Apr 24, 2008 5:51 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|