Guten Tag, Love my basex, have been using it for years. I particularly love being able to have access to all the powerful 2.0 syntax. But I have a question about some behavior I am seeing in the following-sibling axis that does not seem logical to me. Here is the data stored in basex:
xquery /text[@id='test'] <text id="test"> <clause> <word>A</word>a <word>B</word> <word>C</word>c </clause> </text>
Here is the query on that data:
xquery /text[@id='test']//word/concat(text(), ' ', normalize-space(./following-sibling::text()[1])) A a B c C c
The same query run in https://www.freeformatter.com/xpath-tester.html <https://www.freeformatter.com/xpath-tester.html> in the same xml gives me the predictable result that I need: String='A a’ String='B ‘ String='C c' Is there any way to alter my query to get the above result in basex? I imagine that this an xpath1.0 vs xpath2.0 issue. Thanks, Mark Bordelon.