23 May
2025
23 May
'25
1:11 p.m.
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>tekst</div> <div>tekst</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? mvgr. Rob Stapper