[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: "Adam Griffin" <agriffin@xxxxxxxxxxxx>
Date: Tue, 3 Feb 2004 12:03:05 -0500
awk vs perl
I like Kays approach here...  :-)
Especially if it starts to get real hairy with requirements like working
with offline data... Performing sorts on the client... User preferences
influencing how data looks... (etc. etc.)

As a person involved in the nitty gritty work of writing programs that
use both these technologies, I readily reach for XSLT over Perl for
transformation tasks. At the theory level, it may just look like a
preference thing. If you work quite a bit with both you'll find yourself
happily using XSLT for most transformation tasks. It just makes my job
easier on  many levels. 

In addition, I would never discard Perl from my tool belt. They may be
capable in similar ways but, they definitely fit a purpose for which
many of us worker bees use it for more than just the novelty or as a
resume bulker.  ;-)


-----Original Message-----
From: Michael Kay [mailto:mhk@xxxxxxxxx] 
Sent: Tuesday, February 03, 2004 10:44 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  XSLT vs Perl


> XSLT 2.0 is awk with pointy brackets. What's the advantage of
> having pointy brackets in awk?

I was not aware that awk had a data model or type system that was in any
way aligned with XML.

Let's be concrete. What is the equivalent of

<a href="{../@code}.html"/><xsl:value-of select="title"/></a>

in awk? Or in Perl?

Michael Kay


 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

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.