SunQuest
           XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 20th, 2003, 03:22 PM
smadeira smadeira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 3 smadeira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to smadeira
putting xml value into link in SSL

I have the following XSL fragment:

<xsl:template match="case">
<tr>
<xsl:apply-templates select="casenum"/>
<xsl:apply-templates select="severity"/>
</tr>
</xsl:template>


<xsl:template match="casenum">"
<td><a http://www.dev01.com/ViewCaseForm.asp?case_number=AAA"><xsl:value-of select="."/></a></td>
</xsl:template>

Where I show the AAA in the link I really want the value of casenum.

This will generate a link that is the casenum and when I click the link it will take me to the ASP application that gets that data for that case.

How do I get the value of the casenum inside the href tag? I'm sure it's simple but I can't figure it out.

Reply With Quote
  #2  
Old June 23rd, 2003, 06:18 AM
jm60697 jm60697 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 jm60697 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I prefer to use AVT's (Attribute Value Templates)

<a href=http://www.dev01.com/ViewCaseForm.asp?
case_number={.}>Link Text</a>

Cheers
jm60697

Reply With Quote
  #3  
Old June 23rd, 2003, 08:00 AM
smadeira smadeira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 3 smadeira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to smadeira
Thanks jm60697. that did the trick.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > putting xml value into link in SSL


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway