[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: styling refentry blocks
Thanks bob. That all worked a treat. I went for the xsl:apply-imports approach. For those that are interested, I finally used: <xsl:param name="shade.verbatim" select="1"></xsl:param> <xsl:attribute-set name="shade.verbatim.style"> <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> <xsl:attribute name="border-width"> <xsl:choose> <xsl:when test="ancestor::refentry">0pt</xsl:when> <xsl:otherwise>0.5pt</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="border-style"> <xsl:choose> <xsl:when test="ancestor::refentry">none</xsl:when> <xsl:otherwise>solid</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="border-color">#575757</xsl:attribute> <xsl:attribute name="padding">3pt</xsl:attribute> </xsl:attribute-set> to restyle the verbatim boxes within the refentry blocks only. Paul
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]