Attached is my suggestion for "generate download table for jboss.org releases"
download-template.xml - defines the project's and its downloads per os but has ${...} for all the filenames, sizes and versions.
download.xsl - xslt for taking a download.xml and convert into html
build.xml - ant script that takes download-template.xml, merges in properties to create download.xml and then uses xslt to create download-snippet.html with download.xsl
download.xml - example of output
download-snippet.html - example of output.