27 Apr
2023
27 Apr
'23
1:38 p.m.
Hi Giuseppe, I’m sorry, I fail to understand how to simulate your use case. Could you please provide us with a minimized code snippet for testing?
I have the comment node <!—-—>.
I assume it’s -- instead of —?
If I extract its content with data() in an element, I get the following: <g>-</g>, and it seems there is no way to force - to become - within the element.
I tried this: let $comment := <!-- - --> return element g { $comment } It gives me <g><!-- - --></g>. I assume it differs from your approach? Grazie in anticipo, Christian