|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
I prefer to use AVT's (Attribute Value Templates)
<a href=http://www.dev01.com/ViewCaseForm.asp? case_number={.}>Link Text</a> Cheers jm60697 |
|
#3
|
|||
|
|||
|
Thanks jm60697. that did the trick.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > putting xml value into link in SSL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|