I think it's certainly true that if you're used to a procedural language like Perl, a functional(ish) language like XSLT will seem bizarre. But I'm not sure XSLT is any stranger than any other programming language to someone without programming experience.
Hugh
On Jan 28, 2011, at 5:36AM, Torsten Schassan wrote:
Dear Godfried,
Instead of teaching Perl from scratch I would give them working little programs which they can then modify to suit their needs (a recipe book approach).
although this seems to be perfectly reasonable,
I think that a procedural language like Perl is easier to grasp than XSLT and to learn.
I wonder how to prove this? Learning a (another) procedural language might be easier for someone who already learned a procedural language, but I find the way XSLT work so quite straight forward that once you understood how XML works it might be easy to understand XSLT too?! If you learned object oriented programming like Java, XML-processing with XSLT, XPath etc seems to be very similar?
But I admit it might be only me estimating this?
Best, Torsten
-- Torsten Schassan Digitale Editionen Abteilung Handschriften und Sondersammlungen Herzog August Bibliothek, Postfach 1364, D-38299 Wolfenbuettel Tel.: +49-5331-808-130 (Fax -165), schassan {at} hab.de
http://www.hab.de/forschung/projekte/europeana-regia.htm http://www.hab.de/forschung/projekte/weiss64.htm
Digital Medievalist -- http://www.digitalmedievalist.org/ Journal: http://www.digitalmedievalist.org/journal/ Journal Editors: editors _AT_ digitalmedievalist.org News: http://www.digitalmedievalist.org/news/ Wiki: http://www.digitalmedievalist.org/wiki/ Twitter: http://twitter.com/digitalmedieval Facebook: http://www.facebook.com/group.php?gid=49320313760 Discussion list: dm-l@uleth.ca Change list options: http://listserv.uleth.ca/mailman/listinfo/dm-l