[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT vs Perl

Subject: Re: XSLT vs Perl
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 3 Feb 2004 21:27:53 +0100
.net vs perl
"David Tolpin" <dvd@xxxxxxxxxxxxxx> wrote in message
news:200402031156.i13BuxN3004310@xxxxxxxxxxxxxxxxxxxxxx
>
> Hi,
>
> I have just finished reading the working draft for XSLT 2.0. Forgive me
> the crudeness: what are advantages of XSLT 2.0 over Perl
(http://www.perl.org/)?

I was busy today and saw this only in the evening.

I cannot compare XSLT to Perl as I don't know anything about Perl -- 
probably it is a good or not so good a language.

The best and most powerful feature of XSLT, which I haven't seen in any
other programming language is xsl:apply-templates.

One can do magic by simply overriding the identity transform. In this way
what can be produce by a dozen lines in XSLT is often extremely difficult
using a language that lacks the xsl:apply-templates concept.

This concept made possible the implementation in FXSL of higher-order
functions and the support for functional programming in XSLT.

Although there might be opinions to the contrary, I find that using FXSL one
can often produce elegant solutions to problems that otherwise would be
difficult to solve.

In re-writing FXSL to truly use XSLT 2.0 I have found that using FXSL has
become even more compact and elegant (e.g. by using xsl:function) and really
looks functional.

The only feature that I really miss is a sequence that can have sequences as
its individual items. If this was offered then one could write partial
applications of functions in an amazingly compact and readable way.


Cheers,

Dimitre Novatchev,
FXSL developer.

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.