Subject:xsl-fo internal link Author:priya kadam Date:27 Nov 2006 07:48 AM
Hello all,
I am new to xsl-fo. I need to create internal link dynamically to the content of the variable 'LinkTest'. How do i assign the id? Please find below the code snippet.
Let us assume String2 contains: "basic string substring1> continue" and GTcontains: ">"
<xsl:variable name="LinkTest" select="substring-before($String2,$GT)"/>
The output of the above statement will be: "substring1" i.e.LinkTest=substring1
there is also a link created with id"substring1"
If I want to assign a cross reference link to the value of LinkTest how do i do it?
I am trying the following:
<fo:basic-link internal-destination="{$LinkTest}" color="blue">
<xsl:value-of select="$LinkTest"/>
</fo:basic-link>