XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 30th, 2004, 09:21 AM
JaBs206 JaBs206 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 3 JaBs206 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 4 sec
Reputation Power: 0
Exclamation Hyperlink in XSL!!!

Hi there,

I am a newbie in XML prog. I am working with an xsl doc and I'm trying to do a hyperlink on the results of a query. Results are returned in an xml format.

I'm trying to hyperlink the results and send the info into another page with the value of the selected value. The concatenation of the strings doesn't work. Here is the code:

<a href="adsJaBs.asp?cn=" & (selected value)> <xsl:value-of select="cn"/> </a>

Please help!!!

I have tried using the "concat" function.

<a href=concat('adsJaBs.asp?cn=','<xsl:value-of-select="cn"/>')> <xsl:value-of select="cn"/> </a>

and still no luck....

Last edited by JaBs206 : May 3rd, 2004 at 09:01 AM.

Reply With Quote
  #2  
Old May 9th, 2004, 11:53 PM
terminal's Avatar
terminal terminal is offline
nx
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: USA
Posts: 626 terminal Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 28 m 37 sec
Reputation Power: 0
Send a message via AIM to terminal
try this:

Code:
  <a href="{concat('adsJaBs.asp?cn=',cn)}"> <xsl:value-of select="cn"/> </a>
 

Reply With Quote
  #3  
Old June 3rd, 2004, 03:15 AM
JaBs206 JaBs206 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 3 JaBs206 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 4 sec
Reputation Power: 0
Hi there,

Have tried this and doesn't work. But have found another way of doing this without hyperlinking.

Thanx a mil.

Reply With Quote
  #4  
Old October 14th, 2004, 03:37 AM
Subbaiah Subbaiah is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 Subbaiah User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Try This

<a href="ViewRentDetails.asp?BillID={@BillID}&TypeID={@RentTypeID}">View</a>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Hyperlink in XSL!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT