Is there a way to concatenate text values of several nodes using Xpath 1? I know what in Xpath 2 there's a cool string-join
function, but dom4j supports only first version.
For example I have the following xml:
<root>
<item>a</item>
<item>b</item>
<item>c</item>
</root>
I want to get (for example) "a,b,c" string using Xpath 1. Is it possible?
UPD: item count is unknown
if you exactly know the structure you can
result