[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] XSLT vs Perl


Subject: RE: [xsl] XSLT vs Perl
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2004 20:38:00 +0400 (AMT)

> > 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.

AWK has neither of the two. AWK was an exaggeration.
I was trying to emphasize the fact that use of XML syntax for
structure is no more than syntactic sugar.

Besides, a language with types which already require two levels
of errata hardly benefits from these types.

>
> Let's be concrete. What is the equivalent of
>
> <a href="{../@code}.html"/><xsl:value-of select="title"/></a>

new Node("a",href=>value_of(../@code).".html",value_of("title"));

David Tolpin

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



Current Thread
Keywords