xsl-list
[Top] [All Lists]

RE: XSLT vs Perl

2004-02-03 09:38:00
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



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