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: xsl href usage


> <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


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