如何一个接一个地获取逗号分隔值
问题描述:
大家好
我得到的价值是这样的
abc,bca
现在我想写这样的
abc
bca
请告诉mw怎么做
Hi all
I am getting the values like this
abc,bca
now i want to write it like this
abc
bca
Please tell mw how to do this
答
看看这个XPath函数列表: XSLT,XPath和XQuery函数 [ ^ ]
具体调查
Have a look at this list of XPath functions: XSLT, XPath, and XQuery Functions[^]
Specifically look into
fn:substring-before(string1,string2)
fn:substring-after(string1,string2)
fn:tokenize(string,pattern)
然后挑选一名获胜者。
and then pick a winner.