Page 1 of 1

global template for particular tag

Posted: Thu Mar 08, 2012 3:08 am
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