Schramm, Martin wrote:
> Dear list,
>
> could  you please give me a hint, how I could customize my XSL
> stylesheet in that way, that links, xrefs or ulinks will be presented as
> visible hotlinks in my FO/PDF output (e.g. underlined or blue colored). 
>
> Our users usually read our documents as PDF versions on their screen. At
> the moment, links are only recognizable as hotlinks, when the user moves
> the mouse over it and the cursor changes its appearance. But therefore
> he has to know, that THERE IS a hotlink to be found. It would help a
> lot, if these links were directly formatted as underlined text or in
> another font color.  
>
> Do I have to adjust the "link" template settings within the xref.xsl
> file (<xsl:template match="link" name="link"> etc.)? Or is there a XSL
> parameter, which I could use in my customization (something like
> "link.properties" - which does not exist)?
>
> Thank you, regards,
>
> Martin 
>  
> *******************************************
> Harman Becker Automotive Systems GmbH
> Geschaeftsfuehrung:  Dr. Peter Geiselhart  -  Michael Mauser  -  William S. 
> Palin -  Edwin Summers  -  Regis Baudot
> Sitz der Gesellschaft: Karlsbad - Registergericht: Mannheim HRB 361395
>  
> *******************************************
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
> loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail ist nicht gestattet.
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and delete this e-mail. Any unauthorized 
> copying, disclosure or distribution of the contents in this e-mail is 
> strictly forbidden.
> *******************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   
Look here:

http://www.sagehill.net/docbookxsl/CustomXrefs.html#Xrefstyle

and look for the description of the code example:

<xsl:attribute-set name="xref.properties">
  <xsl:attribute name="color">
    <xsl:choose>
      <xsl:when test="self::ulink">blue</xsl:when>
      <xsl:otherwise>inherit</xsl:otherwise>
    </xsl:choose>
  </xsl:attribute>
</xsl:attribute-set>

That will give you the desired result for ulinks.

Best, Mads



-- 
+---------------------------------+-------------------------+
| Mads Ipsen                      |                         |
| Product Support Specialist      | phone:     +45-35320630 |
| Atomistix A/S                   | fax:       +45-35320635 |
| Juliane Maries Vej 30           |                         |
| DK-2100 Copenhagen              | [EMAIL PROTECTED]       | 
+---------------------------------+-------------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to