This screenshot of my webmail client proves that sending the email with attachment really worked:

Last, but not least, I want to use this posting for a graphical experiment.

Since the code listings available in this blog are not as "nice" as those in developerWorks forum I took a screenshot of the
terminal with syntax highlighted listing of smtp.xsl. Since best display in this blog is for pictures of width exactly 400 pixels

I had to zoom out a little ... the resulting screenshot is a 400x1770 pixel(!) .gif image.

Good that I have a 24'' monitor in my office and a 1920x1200 graphic card for working in "Left" instead of "Normal" view ... :-)