Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将多个元素值加入一个用空格分隔的新字符串中,最好的方法是什么?我正在使用 xslt 2.0。
提前致谢。
查看字符串连接函数。
<xsl:value-of select="string-join(/path/to[1]/nodes/text(), ' ')" />