<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>docbook-rng-5.0b8 xsl-1.71.0 saxon-6.5.5 oxygen-7.2.0
(eclipse-3.2 plugin)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>When generating an olink target data file (targetdb.xml), tags
&lt;i&gt; and &lt;/i&gt; surround each chapter&#8217;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 </span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>collect.xref.targets</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> is set to &#8216;</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>yes</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&#8217; or &#8216;</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>only</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&#8217;.
Currently performing this activity utilizing find/replace (ugh).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Advise and comments please.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Ray<o:p></o:p></span></font></p>

</div>

</body>

</html>