(For HTML):
<xsl:template match="sgmltag[@class='element']">
<code><<xsl:apply-templates/>></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"><<xsl:apply-templates/>></fo:inline>
</xsl:template>
Jeff
-----Original Message-----
From: Steinar Bang [mailto:]
Sent: Wednesday, April 02, 2003 11:11 AM
To:
Subject: [docbook-apps] How add angled brackets to <sgmltag
class="element">?
Platform: DocBook XML 4.2, DocBook XSL 1.69.1
Is it simple/possible to do something in the local XSL customization
layer, to change the XSL:FO and HTML presentation of
<sgmltag class"element">someelement</sgmltag> to make it include
angled brackets,
Ie. turn the presentation into something like <someelement> in a
fixed width font?
Thanx!
- Steinar
---------------------------------------------------------------------
To unsubscribe, e-mail:
For additional commands, e-mail: