xpath如何合并两个字段?

littleholly 2004-05-11 03:12:39
请问如何在一个xpath语句中将两个节点的text合并?
...全文
434 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
孟子E章 2004-05-11
  • 打赏
  • 举报
回复
concat Function
Returns the concatenation of the arguments.

string concat(string, string, string*)
Remarks
If an argument is not of type string, it is first converted to a string and then evaluated.

Example
The following function call returns "abcdefg".

concat("abc", "d", "ef", "g")
The following function call returns "abc3efg".

concat("abc", 3, "ef", "g")

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧