Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] Re: external-destintation generates Invalid URL

Expand Messages
  • Sangeetha Goli
    Thank you, that worked great! Sangeetha ... __________________________________________________ Do You Yahoo!? Make international calls for as low as
    Message 1 of 3 , Aug 7 11:15 AM
    • 0 Attachment
      Thank you, that worked great!


      Sangeetha

      --- neuggs@... wrote:
      > Sangeetha,
      >
      > Instead of "$websiteurl" try "{$websiteurl}"
      >
      > The link was pointing to the string literal
      > "$websiteurl" instead of
      > the XML data as intended. Using the "{" and "}"
      > fixes this.
      >
      > Regards,
      > Frank.
      >
      > --- In XSL-FO@y..., sg_goli@y... wrote:
      > > Hi All,
      > >
      > > I am using the following code
      > >
      > > <fo:block margin-left="8pt">
      > > <xsl:variable name="websiteurl"
      > select="/XmlData/WebInfo/WebSite"/>
      > > <fo:basic-link
      > external-destination="$websiteurl"
      > > text-decoration="underline"
      > color="blue">
      > > <xsl:value-of select="$websiteurl"/>
      > > </fo:basic-link>
      > > </fo:block>
      > >
      > > The website URL comes from an XML file, I am able
      > to display the
      > > webiste info in blue but when i click on it, it
      > says Invalid URL.
      > >
      > >
      > >
      > > If I hard code the web site as follows i can get
      > to it :
      > >
      > > <fo:basic-link
      > external-destination="http://www.yahoo.com"
      > > text-decoration="underline"
      > color="blue">
      > > <xsl:value-of select="/XmlData/WebInfo/WebSite"/>
      > > </fo:basic-link>
      > >
      > >
      > >
      > > It displays the text from XML file and then links
      > me to yahoo.
      > >
      > > Any help is appreciated.
      > > Thanks
      > > Sangeetha
      >
      >


      __________________________________________________
      Do You Yahoo!?
      Make international calls for as low as $.04/minute with Yahoo! Messenger
      http://phonecard.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.