I’ve found two approaches to this:
http://sources.redhat.com/ml/xsl-list/2000-08/msg01318.html
http://www-106.ibm.com/developerworks/library/wa-xslt/
I think the second method looks like the best. I like the idea of using a general XSLT template to add in generic functionality too.




