Exercise XSLT/NxMTable

Topic: Computational XSLT style sheets

Design an XSLT style sheet that generates an NxM HTML table 
with a given number of rows and columns N and M, 
and writes in each  cell the corresponding row and column numbers. 
An example of a possible 8x10 table is shown in file table.htm. 
An example of  passing command-line parameters to XSLT is shown in the script double.xslt, which could be invoked with Saxon as follows: 

  $ java -jar saxon.jar double.xslt double.xslt Input=0123
  <VALUE>246</VALUE>

Use file genTable.xslt as a starting point, and complete it to solve the task.