OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


>>>>> Jeff Beal <jeff.beal@ansys.com>:

> (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!


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]