global template for particular tag

Here should go questions about transforming XML with XSLT and FOP.
sderrick
Posts: 264
Joined: Sat Jul 10, 2010 4:03 pm

global template for particular tag

Post by sderrick »

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?

thanks,

Scott