I hear time and time again about how you should avoid the use of XSLT for-each. That it's your inner imperative programming demon that should be banished.
我一次又一次地听到你应该如何避免使用XSLT。这是你应该被放逐的内在势在必行的编程恶魔。
What's so bad about it?
这有什么不好的?
Does this best practice matter depending on the size of XML (i.e 100 vs 10,000 nodes)?
这种最佳实践是否取决于XML的大小(即100对10,000个节点)?
5 个解决方案
#1
#1
Essential difference between <xsl:apply-templates>
and <xsl:-for-each>
that nobody has pointed out:
没人指出的
<>
<>
<>
<>