Bug in the treeview.xsl file :
passing more than one argument to a leaf in the tree
resulted in a bug :
problem was in the & in the "leaf" template :
should be AFTER xsl:for-each and not before (otherwise
only the first attribute will be correct)
Bug solved :
<xsl:template match="leaf|LEAF">
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width='17'>
<img src='../images/o.gif'
height='1' width='17' border='0' />
</td>
<td width='1' class='treeline'><img
src='../images/o.gif' height='1' width="1"
border='0'/></td>
<td align='bottom' valign='left'>
<img src='../images/o.gif'
border='0' class='treeline' align='absbottom' WIDTH='9'
HEIGHT='1'/>
<a>
<xsl:attribute
name="href">
<xsl:value-of select="@url"/><xsl:if test="@\*
[name()!='icon' and name()!='name' and name()!='url'
and name()!='target']"><xsl:for-each select="@*[name()!
='icon' and name()!='name' and name()!='url' and name()!
='target']">&<xsl:value-of select="name
()"/>=<xsl:value-of select="."/></xsl:for-each></xsl:if>
</xsl:attribute>
<xsl:attribute
name="target">
<xsl:value-of select="@target"/>
</xsl:attribute>
<img
class='treeicon'>
<xsl:attribute name="src"><xsl:value-of
select="@icon"/></xsl:attribute>
</img>
<font
class='treefont' ><xsl:value-of select="@name"/></font>
</a>
<br/>
</td>
</tr>
</table>
</xsl:template>