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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of David Tolpin
Sent: 03 February 2004 13:44
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: 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
| Current Thread |
|
Rowland Shaw - Tue, 3 Feb 2004 09:34:29 -0500 (EST) <=
Christopher Hearns - Tue, 3 Feb 2004 10:22:06 -0500 (EST)
roger . day - Tue, 3 Feb 2004 11:02:35 -0500 (EST)
|
|