Creating a link to website in XSLT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jay123
    New Member
    • Sep 2008
    • 121

    #1

    Creating a link to website in XSLT

    Hello,
    I am struck at very basic requirement while using XSLT, i have a document on which i have hard coded some website Ex 'yahoo.com', but now i want that to be a link so that when user clicks on it it takes us to 'yahoo.com'

    Code i have now is
    Code:
     <fo:inline text-decoration="underline">www.yahoo.com</fo:inline>
    Any help would be appreciated.

    TIA
    Jay
  • jay123
    New Member
    • Sep 2008
    • 121

    #2
    Sorted!! Silly Me.

    I never knew that if you underline any text in XSLT, it automatically start behaving as a hyperlink. If you try above code, once you get the output and hover over underlined text. Hand come over and clicking on it will take user to whatever text we have underlined.

    Now it did solve my problem but i am sure their should be some way to disabling this option because not every time do we need underline data to behave as a link..

    Cheers

    Comment

    Working...