Is there any chance that the typo in "address" is causing you to
generate the link "mailto:";, which the browser then tries to turn into a
valid http: url?

Brian

-----Original Message-----
From: MARTIN Franck [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 12, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re mail-to


The simple example given earlier works but the following one doesn't.

<xsl:template match="identity">
    <xsl:element name="fo:basic-link">
       <xsl:attribute name="external-destination">
            mailto:<xsl:value-of select="adress/email"/>
       </xsl:attribute>
       <xsl:value-of select="adress/email"/>
     </xsl:element>
</xsl:template>

An xslt engine would produce the following output : <fo:basic-link
external-destination="mailto:[EMAIL PROTECTED]">
    [EMAIL PROTECTED]
</fo:basic-link>

This output is similar to the example that works.


I believe this is a bug either in the xslt engine parser either in fop
cause it should open the mail client rather than the browser

Franck MARTIN


Reply via email to