global template for particular tag

Here should go questions about transforming XML with XSLT and FOP.
sderrick
Posts: 211

global template for particular tag

Thu Mar 08, 2012 3:08 am

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

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest