Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 23rd, 2007, 07:16 AM
Authorized User
 
Join Date: Oct 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saxon performance on System i ...

Hi,

This is a very general question ...

I have Java code on a System-i (formerly iSeries and AS/400) box that translates an XML using an XSLT.

When I use Saxon for the translation, it takes approximately 3 seconds for a simple transformation.

However, using the built-in Crimson parser does the job in about 1 second.

Has anybody attempted this on a System i box before? (P.S: It is much faster on a modest Windows box) Is there anyway I can improve performance?

Any help will be appreciated,

Thanks!

 
Old April 23rd, 2007, 08:22 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Saxon is an XSLT processor, Crimson is an XML parser, so you can't compare the two... perhaps you are actually comparing Saxon with Xalan?

I don't have any experience of Java (or anything else for that matter) on AS/400 architecture.

In one case recently where Xalan was found to outperform Saxon, it turned out the user was using the Xerces DOM for the input and output trees. Xalan has a custom interface to Xerces which speeds up this combination; in Saxon it's much more efficient to use Saxon's native TinyTree. See http://saxonica.blogharbor.com/blog/...1/2848654.html

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Saxon Parser ravi_sri24 XSLT 7 February 8th, 2008 06:25 AM
Saxon 9.0 question ojasrege XSLT 1 November 27th, 2007 06:32 PM
error on saxon 8.8 rjonk XSLT 1 October 24th, 2006 09:03 AM
SAXON Ques dev.user06 XSLT 4 July 26th, 2006 10:44 AM
Saxon variable go4java XSLT 1 July 6th, 2006 10:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.