0
请问您可以告诉我如何在xslt中使用jquery添加按钮上的数据? 我试过这样如何使用jquery在按钮上点击xslt中的数据?
<button onclick='clickBtn()'>append</button>
JS功能
function clickBtn(){
console.log('=====')
'<xsl:for-each select="//./body/name">
<xsl:if test='number(position()) >10'>
<li><xsl:value-of select="."/></li>
</xsl:if>
</xsl:for-each>'
}
这里是我的代码 http://xsltransform.net/jz1PuQ7/8
任何更新?
你能不能重播这个问题http://stackoverflow.com/questions/42499903/how-to-access-variable-in-xslt – user944513