In short, they are two technologies that should be compared -- one is a
procedural programming language and one is a description of a
transformation.
Same as asking the benefits of XSLT over, say, C++. In fact, for that
matter, Perl has a very good XSLT engine based around libxml (IIRC).
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.
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of David Tolpin
Sent: 03 February 2004 11:57
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: XSLT vs Perl
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/)?
David Tolpin
http://davidashen.net/
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 08:08:26 -0500 (EST) <=
roger . day - Tue, 3 Feb 2004 09:17:47 -0500 (EST)
|
|