XSLT/XML question

Joined
Jul 27, 2006
Messages
50
I am trying to write the following using xslt.


<a href= "pics/colosseum.jpg"> Roman Colosseum </a>


I am having problems with the tag. The “Roman Colosseum” gets replaced with <xsl:value-of select="name"/> which works fine but when I try to make it a link I am missing something with the syntax. The following is the complete statement but does not work.

<a href= <xsl:value-of select="name"/>><xsl:value-of select="name"/></a>



Thank you for your time,

If you need further clarification let me know, I tried to be as clear as I could be but sometimes when you are working inside something you don’t see the whole picture.


Any suggestions on how to get this to work would be welcome.
 
Back
Top