xsl-list
[Top] [All Lists]

RE: XSLT vs Perl

2004-02-03 07:33:43
To twist that another way; There's nothing that XSLT could do, that Perl
cannot; However, there are many things Perl *can* do, that XSLT cannot. For
example, you could not write an XSLT transformation that acts as a mail
server.

Perl is not a functional language (per definition at
http://www.cs.nott.ac.uk/~gmh//faq.html#functional-languages ), where as
XSLT fits that description (Perl would be classed as a procedural language,
instead).


-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
David Tolpin
Sent: 03 February 2004 13:44
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XSLT vs Perl

In reality, XSLT is a handy tool to help transform XML from one form to
another; So, for example, it's trivial to write an XSLT transform that
convert RSS/RDF feeds into a list of recent articles on a website; and
with
no extra low level programming (C++/Perl/etc) you can use the same libs to
do something completely different, like building a content management
system
(that stores XML only) to spew out differing mark-up for HTML clients to
WAP
clients.

XSLT 2.0 is as much low level programming as Perl is for the same job.

David 

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

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



<Prev in Thread] Current Thread [Next in Thread>