Hello Michael,

Thanks a lot for your useful inputs.

I have one technical question but  I am not sure this is the appropriate place to ask this.

However when I was going through this page:http://www.dpawson.co.uk/xsl/sect4/N9723.html#d13136e46 ; I found your name in second point titled as,
2. Access to Java from XSLT Stylesheet


that encouraged me to ask you this question.

In this second point a sample Java code and XSLT Stylesheet is given. The XSLT Stylsheet uses Java method for some process.

My question is , Is it possible to achieve same thing from xquery? I mean can we specify a Java function call in xquery?

If yes, then please send me how to specify a Java function call in xquery file.
With Best Regards........
Pragnesh Rana
Software Engineer
Manufacturing SBU,
L&T Infotech, Powai, Mumbai
pragnesh.rana@lntinfotech.com
Mobile No. : 09821713861
Home : 02632 - 252118
pragneshec@yahoo.com




"Michael Kay" <mike@saxonica.com>
Sent by: saxon-help-bounces@lists.sourceforge.net

10/26/2006 08:24 PM
Please respond to
Mailing list for SAXON XSLT queries <saxon-help@lists.sourceforge.net>

To
"'Mailing list for SAXON XSLT queries'" <saxon-help@lists.sourceforge.net>
cc
Subject
Re: [saxon] Saxon-SA benefits (was: no subject)





Thanks for the enquiry.
 
Saxon-SA doesn't give an across-the-board performance improvement compared with Saxon-B; so don't expect to run the same workload and have everything go 10% faster. What it does give is the opportunity for speeding up certain things selectively. Notably:
 
* the serial processing facility enables you to do some transformations on documents that would otherwise to big to fit in memory
 
* the optimized join capability can give dramatic improvements to the execution speed of "join" queries (which can occur in XSLT as well as in XQuery, though they are more common in XQuery. The effects are particularly marked with large documents.
 
There are also some opportunities for speed-up by virtue of the stronger type-checking and static type analysis, provided you use these features.
 
The big effect of Saxon-SA is not on run-time performance, but on developer productivity, because schema awareness enables errors to be detected earlier and reported more accurately. This does depend on you actually using schemas with your stylesheets and queries and declaring the types of your inputs (or invoking validation of the output, or both).
 
You don't have to change any of your coding to use Saxon-SA, but if you don't make any changes, the only benefits you gain (other than the benefits of using a commercial product, of course) will be from the improved optimizations that occur for some queries.
 
Michael Kay
Saxonica Limited


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Pragnesh Rana
Sent:
26 October 2006 15:09
To:
saxon-help@lists.sourceforge.net
Subject:
[saxon] (no subject)
Importance:
High



Hi,


For one of our project we have planned to use Saxon B package since we found it suitable for our currently identified requirements.


However in future we have plan to switch from Saxon B to Saxon SA because,


what we could conclude, from reading the documents on Saxon is that, using Saxon SA package will be resulting in better performance than Saxon B.


Is the conclusion right?


If yes than what , I would like to know that, How much this Switching of package i.e, from Saxon B package to Saxon SA package, will be impacting on coding?


Are the API's provided in both packages are same and will not lead to much code changes? Or It will highly impact the coding?

With Best Regards........
Pragnesh Rana
Software Engineer
Manufacturing SBU,
L&T Infotech, Powai, Mumbai
pragnesh.rana@lntinfotech.com
Mobile No. : 09821713861
Home : 02632 - 252118
pragneshec@yahoo.com



______________________________________________________________________


______________________________________________________________________
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
saxon-help mailing list
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help


______________________________________________________________________