Re: [xsl] fo basic link question

Subject: Re: [xsl] fo basic link question
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Date: Tue, 10 Nov 2009 19:56:42 -0800
I think I just figured it out:

<fo:basic-link  color="blue">
        <xsl:attribute name="external-destination">
         <xsl:text>uri(&quot;</xsl:text>
         <xsl:value-of select="Heading/@file"/>
          <xsl:text>&quot;)</xsl:text>
           </xsl:attribute>
           <xsl:value-of select="Heading"/>
 </fo:basic-link>
I think this works because uri("...") is not actually a function.
Mark

--------------------------------------------------
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Sent: Tuesday, November 10, 2009 7:12 PM
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] fo basic link question

Every example for building a uri("...") I can find always fills the parentheses with a quoted string, like uri("s.pdf"). I want to use the value of an attribute:

<fo:basic-link external-destination="url(Heading/@file)" color="blue">

Can I do that? If so, how?

Thanks,
Mark

Current Thread