Emphasized text in docbook, fo, pdf out put.

Posted by Mica on Stack Overflow See other posts from Stack Overflow or by Mica
Published on 2010-06-11T00:07:47Z Indexed on 2010/06/11 0:13 UTC
Read the original article Hit count: 546

Filed under:
|
|
|
|

I am trying to emphasize a character of some static text to render into the footer of my pdf, but can't figure out the right combination of tags in my xsl. How can I accomplish this?

Example:

<!-- 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>&#x00A9;<emphasis>My</emphasis>Company</xsl:text>
</xsl:when>
...
</xsl:choose>
</fo:block>
</xsl:template>

This example generates an error in xsltproc. Help!

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xslt