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 September 25th, 2007, 02:37 AM
Authorized User
 
Join Date: Jul 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default XSLT processor for Mac

Hi,

Can somebody suggest me a good XSLT processor for MAC version. Till date I've been using TestXSLT for my development processes, but would prefer to use a processor that can triggered from Terminal using shell scripts (I think that is more safe and fast). I am new on MAC though have worked on windows with Xalan processor.

My second question is, which XSLT processor is more safe/better to use from the following:

1. XALAN-J
2. Sablotron
3. Saxon
4. LibXSLT.

The reason I am asking this that I've noticed that sometimes while transforming the same XML with same style sheet Sablotron gives errors, while LibXSLT gives the perfect output.

Is it related with the compatibility of processors or something wrong with TestXSLT, as the website from where I've downloaded the TestXSLT also mentions that it is just for testing purposes. Another reason for not using it in regular production floor.

Thanks for suggestions, in advance.

Pankaj



Pankaj
__________________
Pankaj
 
Old September 25th, 2007, 04:38 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

As the author of Saxon I can't really give impartial advice... And I don't know the MAC environment, or TestXSLT. All these processors have a good reputation, though I think LibXSLT is generally preferred over Sablotron these days. If you're getting different behavior it might be a bug, or it might be that the spec allows different behavior, in which case its good to know that your stylesheet is doing something that's processor-dependent. So rather than just abandoning one processor, narrow down what the difference is and investigate it.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old September 25th, 2007, 08:55 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Given a choice I would always choose Saxon, the advantage of getting the XSLT to work in Xalan is that that is the standard Java offering and many places are stuck with it, although it doesn't support version 2.0. So it depends somewhat on where you are developing for.

--

Joe (Microsoft MVP - XML)
 
Old September 26th, 2007, 08:36 AM
Authorized User
 
Join Date: Jul 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Joe and Michael for comments. I think I will go for LibXSLT as its giving me the perfect results.

Thanks again.

Pankaj





Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Saxon XSLT Processor booboop BOOK: Beginning XML 3rd Edition 2 April 7th, 2011 12:10 PM
Which XSLT processor? li72 XSLT 1 August 16th, 2007 11:18 AM
Regarding the XSLT Processor sunrain XSLT 5 December 3rd, 2006 03:01 AM
changing xslt processor in FOP Tschuri XSLT 0 May 13th, 2005 07:08 AM
beginner xslt processor question randallxski XSLT 3 March 24th, 2005 09:41 AM





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