Should we rewrite the XSL in CDuce?

We currently have a huge XSLT transformation that takes 20-30 minutes to process. We need to improve the performance and we are considering CDuce. CDuce looks promising. What is a good approach to doing this? Do we have to rewrite the entire xsl logic in CDuce?

Answers


You could rewrite it in another language but there may be easier options, it depends how efficient that XSLT 1 code is. If it uses // a lot then it is not uncommon to get orders of magnitude speed improvement by rewriting it not to use // and to use keys or other constructs instead. Also of course switching to a newer more highly optimised XSLT engine wouldn't hurt. (Your question is tagged xslt 1 but an XSLT2 engine would be able to run it with no or little change)


Need Your Help

Element offset is always 0

javascript jquery

I am using a table with a link column when the link is clicked i would like to get the offset of the row. I tried using element.offsetTop and $(element).offset().top and both return 0 the parent el...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.