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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] How to decrease font in the code examples


Sorry for the bad code format.
now I correct it.

<programlisting>
<![CDATA[
 <root>    <?db-font-weight="bold"?>
   <child id="123"/>
 </root>
]]>
</programlisting>


<xsl:attribute-set name="monospace.verbatim.properties">
 <xsl:attribute name="font-weight">
   <xsl:choose>
      <xsl:when test="processing-instruction('db-font-weight')">
       <xsl:value-of select="processing-instruction('db-font-weight')"/>
      </xsl:when>
     <xsl:otherwise>inherit</xsl:otherwise>
   </xsl:choose>
 </xsl:attribute>
</xsl:attribute-set>


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