小编Sri*_*han的帖子

获取字符串长度

尊敬的用户,

 <note>
    <to>ToText</to>
    <from>Jani</from>
    <heading>Reminder</heading>
    <body>Don't forget me this weekend!</body>
 </note>
Run Code Online (Sandbox Code Playgroud)

我需要XML使用Xpath. 我正在使用string-lenth(),但无法呈现准确的结果。

有没有办法得到string-lenght(/to)string-lenght(/from)

xpath

5
推荐指数
1
解决办法
5572
查看次数

标签 统计

xpath ×1