试用使用
fo:inline
.
我不确定你想要达到什么样的强调,或者你得到了什么样的错误,但是尝试这样的方法:
<!-- Footer content -->
<xsl:template name="footer.content">
<xsl:param name="pageclass" select="''"/>
<xsl:param name="sequence" select="''"/>
<xsl:param name="position" select="''"/>
<xsl:param name="gentext-key" select="''"/>
<fo:block>
<xsl:choose>
...
<xsl:when test="$sequence = 'odd' and $position = 'left'">
<xsl:text>©</xsl:text><fo:inline text-decoration="underline">My</fo:inline><xsl:text>Company</xsl:text>
</xsl:when>
...
</xsl:choose>
</fo:block>
希望这有帮助。