Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 25th, 2007, 02:37 AM
Authorized User
 
Join Date: Jul 2007
Location: New Delhi, Delhi, India.
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
Reply With Quote
  #2 (permalink)  
Old September 25th, 2007, 04:38 AM
mhkay's Avatar
Wrox Author
Points: 17,576, Level: 57
Points: 17,576, Level: 57 Points: 17,576, Level: 57 Points: 17,576, Level: 57
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,802
Thanks: 0
Thanked 260 Times in 255 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
Reply With Quote
  #3 (permalink)  
Old September 25th, 2007, 08:55 AM
joefawcett's Avatar
Wrox Author
Points: 9,712, Level: 42
Points: 9,712, Level: 42 Points: 9,712, Level: 42 Points: 9,712, Level: 42
Activity: 7%
Activity: 7% Activity: 7% Activity: 7%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,066
Thanks: 1
Thanked 36 Times in 35 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)
Reply With Quote
  #4 (permalink)  
Old September 26th, 2007, 08:36 AM
Authorized User
 
Join Date: Jul 2007
Location: New Delhi, Delhi, India.
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02: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 08:41 AM



All times are GMT -4. The time now is 10:01 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.