Re: How add angled brackets to <sgmltag class="element">?

From
Steinar Bang <>
Date
2003-04-02T20:33:57+00:00
ID
Thread
Re: How add angled brackets to <sgmltag class="element">?
>>>>> Jeff Beal <>:

> (For HTML):
> <xsl:template match="sgmltag[@class='element']">
>  <code>&lt;<xsl:apply-templates/>&gt;</code>
> </xsl:template>

> For FO, just change the <code> into an <fo:inline/> with an appropriate
> font-family

> <xsl:template match="sgmltag[@class='element']">
>  <fo:inline font-family="Courier">&lt;<xsl:apply-templates/>&gt;</fo:inline>
> </xsl:template>

Thanx Jeff!  This works great!