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]

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


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

Jeff
-----Original Message-----
From: Steinar Bang [mailto:sb at dod dot no]
Sent: Wednesday, April 02, 2003 11:11 AM
To: docbook-apps at lists dot oasis-open dot org
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 &lt;someelement&gt; in a
fixed width font?

Thanx!


- Steinar


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



---------------------------------------------------------------------
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]