Partial Solution Exercise 1

Solution Exercise 1e) ab2.xsl (ab2.xsl.txt), its application arguments via XML document: ab2-main.xml (ab2-main.xml.txt), its application value as HTML document: ab2-main.html

Solution Exercise 1f)
Preliminary version only needing factorial (not actually asked for in the Exercise): factoriala2a2bb2.xsl (factoriala2a2bb2.xsl.txt), its application arguments via XML document: factoriala2a2bb2-main.xml (factoriala2a2bb2-main.xml.txt), its application value as HTML document (Cocoon 1.8 gives factorial(49) approximation worse than 608281864034267560872252163321295376887552831379210240000000000): factoriala2a2bb2-main.html
Full version needing factorial and ab2 (actually asked for in the Exercise): factorialab2.xsl (factorialab2.xsl.txt), its application arguments via XML document: factorialab2-main.xml (factorialab2-main.xml.txt), its application value as HTML document (Cocoon 1.8 gives factorial(49) approximation worse than 608281864034267560872252163321295376887552831379210240000000000): factorialab2-main.html