xsl:key not working when looping through nodeset obtained with xalan:nodeset

半城伤御伤魂 提交于 2019-12-04 07:33:00

I am surprised that you don't get an error by putting the xsl:key into the for-each. In http://www.w3.org/TR/xslt#key you can see that xsl:key is defined as a <!-- Category: top-level-element --> top level element so you need to put it as a child of xsl:stylesheet or xsl:transform.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!