Closed ncarboni closed 2 years ago
string-join is supported by X3ML-Engine. I haven't seen your mapping however I suspect that the reason for not producing a single (under P190), is because your link uses as source the String element (and not one of its parent elements).
In case you cannot debug it, paste here the corresponding part of your X3ML mappings to have a look.
I haven't seen your mapping however I suspect that the reason for not producing a single (under P190), is because your link uses as source the String element (and not one of its parent elements).
Indeed that was the reason, now it works greatly! Thanks :-)
Hello, i am trying to join multiple strings present in the attributes of the childs of an xml element. I do not have any fixed number of child elements, so in order to retrieve and combine them I would use string-join:
string-join(TextLine/String/@CONTENT, ',')
which, however, does not work. String-join is only available in XPATH 2.0, hence the question: is XPATH 2 supported by X3ML?
Alternatively, do you see any other methods to achieve such result?
Sample of the xml input
Current result
expected results: