[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] DocBook 5 - different color for hyperlinks in PDF output
Dean, thanks for your reply. Inspired by your solution I created the following template for DocBook 5: <xsl:template match="d:link"> <fo:basic-link external-destination="{@xlink:href}" text-decoration="underline" color="blue"> <fo:inline> <xsl:choose> <xsl:when test="count(child::node())=0"> <xsl:value-of select="@xlink:href" /> </xsl:when> <xsl:otherwise> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> </fo:inline> </fo:basic-link> </xsl:template> Regards, Johannes Am 03.12.2009 um 16:32 schrieb DeanNelson:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]