473,324 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Creating a link to website in XSLT

121 100+
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
Expand|Select|Wrap|Line Numbers
  1.  <fo:inline text-decoration="underline">www.yahoo.com</fo:inline>
Any help would be appreciated.

TIA
Jay
Dec 19 '10 #1

✓ answered by jay123

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

1 1837
jay123
121 100+
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
Dec 19 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dspohn | last post by:
I am designing a document management system (DMS). The files are stored in a directory on the webserver. The filenames for the documents are stored in a MySQL database. The DMS will track...
6
by: petermichaux | last post by:
Hi, I have an XML document that I am transforming with XSLT. The XML is like this <departments> <department> <name>Dept1</name> <uri>http://www.domain.com/index.php?dept=1</uri>...
0
by: Burak | last post by:
Hello, This is my code behind code for dynamic link button creation: strUrl = "<asp:LinkButton CommandName='Onet3_Cd' onfiltered='LinkButton_Command' runat='server' " & _ "Text='" &...
4
by: carlosramirez | last post by:
I'm just starting with XSLT and I'm having problems generating links. Here's a snippet of my xml file: users.xml <users> <user> <name>User1</name> <email>test@server.com</email> </user>
0
by: Vilmar Brazão de Oliveira | last post by:
Hi, I am having err when creating link to each line of grid at LINE 38. My objective in asp.net is: each line can be linked to page with your parameters as VB 5/6, Delphi 5/6/7, etc.... See the...
2
by: =?Utf-8?B?QWxhc3RhaXIgQmVsbA==?= | last post by:
I am having trouble creating a web site on a server running sharepoint services. I am creating an ASP.Net website using Visual Studio 2005. The server I am trying to create it on is a Windows 2003...
8
by: Smith | last post by:
Hello, My task is to create a .csv file using XSLT. Does anyone have some experience with doing this with C# 2.0? My ASP.NET 2.0 application will get a DataTable object and stream a .CSV file to...
1
by: Trouble | last post by:
Basicall I am trying to create a local folder in IIS 6.0 to display default contents I have put in the C:\inetpub\wwwroot\nocdata default.asp. When I go to http://localhost/nocdata I don't get...
1
vikas1111
by: vikas1111 | last post by:
hi all I have created a template in only using css.. Now i want to give link to the images. The link option is not available in my dreamweaver mx. How can i link the image ?
1
by: nomad1987 | last post by:
Hi how does any one make money by website without selling any products
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.