docbook-rng-5.0b8 xsl-1.71.0 saxon-6.5.5 oxygen-7.2.0 (eclipse-3.2 plugin)

 

When generating an olink target data file (targetdb.xml), tags <i> and </i> surround each chapter’s element text. Would like a macro to strip the aforementioned tags from targetdb.xml subsequent to pre-processing but prior to transformations, executing automatically each time a transformation is run on the project AND the stringparm collect.xref.targets is set to ‘yes’ or ‘only’. Currently performing this activity utilizing find/replace (ugh).

 

I believe a site-published solution (under Documentation/Articles) addressing the removal of unwanted tags and characters (along with the macro) from a DocBook target.db document will be of interest to other oXygen/DocBook users.

 

Advise and comments please.

 

Ray