Java Virtal Machine.net

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

November/2024
SunMonTueWedThuFriSat
     12
3456789
10111213141516
171819202122 23
24252627282930
       

[ Archives News
for 'Java Technology' ]

home > news > java technology > like to use xslt 2.0? move to saxon!

Like to use XSLT 2.0? Move to Saxon!

For many years I am using XSLT now for a lot of tasks in both, development and runtime environments: Source generation, creating HTML from XML data, or even rendering SVG vector graphics from XML finance data. But what really bothered me was that the XSLT transformer contained in Java (even in Java 6's latest release) was just able to do XSLT 1.0 but not XSLT 2.0. XSLT (and XPath) 2.0 comes with such a plethora of features that makes coding so much easier, like calling XSLT-written functions from XPath, "real" loops (instead of recursive calls) or dealing with sequences and many more. I couldn't wait any longer to get it, so the question was: What to do? I knew that for several years there was that SAXON product around, and it was free for open source use. Okay, since my only need is Open Source, the licence won't be not a problem. But I was uncertain about technical constraints: Will I have to change my code? Will my XSLT still work? Do I have to rewrite half of my app? I didn't liked the idea that I have to rewrite lots of code places or ask all users to overhaul their XSLT documents. Nothing at all. Today, after months of senseless waiting for a XSLT 2.0 update to Java 6 (suspended for long time while waiting for the Oracle deal), I didn't want to wait any longer! So I just downloaded the latest Open Source release of SAXON 9...


Date: February, 06 2010
Url: http://www.java.net/blog/mkarg/archive/2010/02/06/use-xslt-20-move-saxon


Others News

©2002-2019Java-Virtual-Machine.net fr | website designing software | mobiriseextensions.com | bootstrap dropdown menu | bootstrap navigation menu