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 » Choosing different XSL Parser in XMLTransformation node ???

Post new topic  Reply to topic
 Choosing different XSL Parser in XMLTransformation node ??? « View previous topic :: View next topic » 
Author Message
vmurali_au
PostPosted: Wed Aug 30, 2006 11:51 am    Post subject: Choosing different XSL Parser in XMLTransformation node ??? Reply with quote

Voyager

Joined: 26 Mar 2004
Posts: 76

Can i make the Broker to use different XSL parser for transformation in the XMLTransformation node?

My guess is MB is using Xalan to transform XML. But Xalan supports only XPath 1.0. I want to use Saxon 8.x as it supports XSLT 2.0 and XPath 2.0.

Also, can i send runtime parameters to the XMLTransformation node for use in the stylesheet? By runtime parameters i mean not the XSL file name and directory, but some other dynamic content that can be used in transformation.

Currently i require to use datetime functions in my XSL. XPath 1.0 doesnt provide any support for datetime functions. Can i invoke external java functions from the XSL to achieve this functionality? How to do it?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 30, 2006 11:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can write a JCN that calls Saxon.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vmurali_au
PostPosted: Wed Aug 30, 2006 12:33 pm    Post subject: Reply with quote

Voyager

Joined: 26 Mar 2004
Posts: 76

Thanks Jeff.

But then i'm losing the advantage that is provided by XMLTransformation node, which is precompiled cached Stylesheets.
So this approach also has disadvantages.

Is there anyway i can make the XMLTransformation node itslef to use Saxon, thereby also taking advantage of pre-compiled stylesheets.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 30, 2006 12:35 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can build a persistant cache for compiled stylesheets in a JCN using a singleton - then you can get this advantage.

I'd be surprised if there were a way to change how any of the presupplied nodes work, including something like changing what XSLT engine the XLT node uses.

Among other things, there's some reasonable chance that the XLT node is written in C, and not Java.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vmurali_au
PostPosted: Wed Aug 30, 2006 1:15 pm    Post subject: Reply with quote

Voyager

Joined: 26 Mar 2004
Posts: 76

I want to call external java functions from my XSL stylesheet. So i want to know is it possible?

Also what parser is internally used by XMLTransformation node. I remember reading somewhere that it is Xalan.

I want this information as procedure for calling external java function from a stylesheet differs from parser to parser.

Any info on the above would be helpful.
Back to top
View user's profile Send private message
XZ
PostPosted: Thu Aug 31, 2006 1:36 am    Post subject: Reply with quote

Apprentice

Joined: 22 May 2006
Posts: 45
Location: IBM Hursley

call external java functions. The node is based on Xalan and uses Xerces (parser). You can not change it.
_________________
Regards,

-XZ
WMQI Development
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 » Choosing different XSL Parser in XMLTransformation node ???
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.