标签: xpath trim
如何翻译文字:
" Some Text in my "
到
"Some Text in my"
使用XPath?
即。仅修剪前导和尾随空格(与normalize-space相反,后者也修剪中间空格)。
normalize-space