Since seeing Mike Kay's presentation at XTech
2005 I've been meaning to write up some
Amara equivalents to the
examples in the paper, "Comparing XSLT and
XQuery".
Here they are.
This is not meant to be an advocacy piece, but rather a set of useful
examples. I think the Amara examples tend to be easier to follow for
typical programmers (although they also expose some things I'd like to
improve), but with XSLT and XQuery you get cleaner declarative
semantics, and cross-language support.





