This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: How add angled brackets to <sgmltag class="element">?


>>>>> Jeff Beal <jeff dot beal at ansys dot com>:

> (For HTML):
> <xsl:template match="sgmltag[ at 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[ at class='element']">
>  <fo:inline font-family="Courier">&lt;<xsl:apply-templates/>&gt;</fo:inline>
> </xsl:template>

Thanx Jeff!  This works great!

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]