I have about 31 templates in a script for a match to "tei:head" they are all conditional on associated attributes or parent:: or ancestor:: conditionals.
I would like to call a function on all of them and then have the regular template matching happen.
Basically do some pre-processing on all match=tei:head" without disrupting the processing I have now. I'd like to do that without making the same function or template call in every one of the existing conditional templates for "tei:head"
Is there a way to do that?
Here should go questions about transforming XML with XSLT and FOP.