Hi Christian,
Basex seems to transform 'begin-/endtagged' element with empty content to a single self-closing-tagged element:
<div></div>
is transformed to:
</div>
This gives problems in my client application. Both in Chrome, Edge and Firefox transforms Javascript's "insertAdjacentHTML":
<div>
<div/>
</div>
to:
<div>
<div>
<div>tekst</div>
<div>tekst</div>
</div>
</div>
This is not what is intended.
I guess for void-elements this transformation is ok but result in problems like this in case of container-elements.
Is it possible in Basex to suppress this transformation?