Thanks, Paul. You got me there. I actually used the processing for
nolinebreak. It was a little simpler than the font handling. Here's my code:
<xsl:when test="starts-with($pi," '_touchup')"=">
<xsl:call-template name="atievent-startelement">
<xsl:with-param name="atievent-element-name" select="span"/">
<xsl:with-param name="atievent-attrname" select="style"/">
<xsl:with-param name="atievent-attrvalue" select="color:<br"/>#FF0000;"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="starts-with($pi," '=" _touchup')"=">
<xsl:call-template name="atievent-endelement">
<xsl:with-param name="atievent-element-name" select="span"/">
</xsl:call-template>
</xsl:when>
You should make a copy of and then modify:
$aptpath/lib/xsl/html/pi.xsl
(Aside: I have an .XSL for HTML Help and an XSL/FO for RTF Export. These are
forks begun by exporting them from a Styler .style stylesheet. These exports
contain literal pathing to pi.xsl (and others). Because I want all
stylesheets to run locally (peservices=off) or on PE, I had to create copies
of several .XSLs from the html and fo subdirectory in the path above, edit
their references, rename them where they overlapped, and store them in the
doctype directory in my client and PE custom folders. For example,
my_rtf.xsl calls pi_rtf.xsl and tbl_rtf.xsl. my_htmlhelp.xsl calls similarly
named pi and tbls stylesheets.)
By the way, the red is just a tester color ... I've asked the authors what
color they think ADDs should be. I'm not sure if I'm going to support
DELetes yet.