This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl href usage
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] xsl href usage
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Wed, 8 Aug 2001 09:18:15 +0200 (MEST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <td><xsl:if test="leaf">
> <a href="?leaf[1]/@xlink:href?">
> <xsl:value-of select="leaf[1]/title"/>
> </a>
> </xsl:if>
> </td>
[...]
> By clicking on it doesn't do anything and the
> source output html looks something like this:
> <a href="?leaf[1]/@xlink:href?">
How do the question marks get into your code?
You should use {} instead:
<a href="{leaf[1]/@xlink:href}">
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list