|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hyperlink in XSL.
Okay, I'm an XML newbie and have hit a bit of a brick wall, so would appreciate help with the following.
I'm trying to create a hyperlink in XSL, and can't figure out how best to acomplish this. I know the below isn't valid, but it displays what I'm trying to achieve (I'll just confuse myself, and more than likely you if I try and explain it). <a href="<xsl:value-of select="path" />">View</a> What's the best way to approach this? Cheers. |
|
#2
|
||||
|
||||
|
Element:
Code:
<a href="{path}">View</a>
Code:
<a href="{@path}">View</a>
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
Excellent, thank you.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Hyperlink in XSL. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|