如何xslt解析XML的时候,能够调用JS的函数?!
itfly 2006-01-09 11:34:52 <xsl:when test="@href">
<a>
<xsl:choose>
<xsl:when test="@target">
<xsl:attribute name="target"><xsl:value-of select="@target" /></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="target">self</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="tabindex">-1</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="@href" /></xsl:attribute>
<xsl:value-of select="@text" />
</a>
</xsl:when>
这一段是检测到HREF产生一个URL的连接,如何检测到@js,产生一个onclick的事件呢?!