File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XSL FO Basic link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSL FO Basic link" Watch "XSL FO Basic link" New topic

XSL FO Basic link

Ashok Renuka

Joined: Jul 15, 2011
Posts: 1
Hi All,
I have a requirement of embedding URL in XSLT Transformation, am using XSL FO to do so.
My input is XML + XSLT and output will be PDF.

For ex
<fo:basic-link external-destination="url('{$urlValue}')">
<xsl:value-of select="@urlDisplay"/>

if urlValue=http://<domain>/portal?param1=v1 it works

if urlValue=http://<domain>/portal?param1=v1&param2=v2 then it doesn't work.

I tired with giving "&" as "&amp;" and "&#38;" both doesn't work.

Please help.
It is sorta covered in the JavaRanch Style Guide.
subject: XSL FO Basic link