[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

fo:basic-link to non-pdf file

Subject: fo:basic-link to non-pdf file
From: Mark Wilson <mark@xxxxxxxxxxxx>
Date: Sat, 23 Feb 2013 16:08:04 -0700
 fo:basic-link to non-pdf file
Hello,
I have been linking PDFs together for some time now, using both internal- and external- destination attributes. Is it possible to go from a pdf document to an html file in the same directory? I've tried several variations, but when I hold my cursor over the link in the PDF document, it always reports as the address:
resource://pdf.js/web/
and it does nothing when clicked.


My target is:
    concat(lower-case(@file-by), '.htm')

I have formulated the external-destination as:
<fo:basic-link>
<xsl:attribute name="external-destination" select="concat(lower-case(@file-by), '.htm')"/>
<xsl:value-of select="@data"/>
</fo:basic-link>


and as (the method I use to connect to another PDF document):
<fo:basic-link>
    <xsl:attribute name="external-destination">
           <xsl:text>url("</xsl:text>
           <xsl:value-of select="concat(@file-by, '.htm')"/>
            <xsl:text>")</xsl:text>
      </xsl:attribute>
    <xsl:value-of select="@data"/>
</fo:basic-link>

What is the correct method, if any?
Thanks,
Mark

--
Mark Wilson
Knihtisk Publishing

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.