This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: attribute's value within href


Hello....

: Hi!
: I tried to put {@code}
: instead of element/@code within my href:
: 
: 
: <TD><A HREF="http://localhost:8080/pic?code={@code}&amp;gender=pf">Click
: me</A></TD>
: 

	How about this:

	<td><a>
	   <xsl:attribute name="href">
	      <xsl:text>http://localhost:8080/pic?code=</xsl:text>
	      <xsl:value-of select="@code"/>
	      <xsl:text>&amp;gender=pf</xsl:text>
	   </xsl:attribute>
	<xsl:text>Click me</xsl:text>
	</a></td>
:

						Brendan
 
-- 
Brendan McKenna	
Technical Director			Phone: +353-(0)61-338177 x4143
W3 Services Ltd.			  Fax: +353-(0)61-338065
Innovation Centre			Email: brendan@w3s.ie
National Technological Park
Limerick
Ireland



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]