LPS-49395 don't collapse empty tags

The XSL template is collapsing empty tags (e.g. <span></span>) into
self-closing tags (e.g. <span />). This produces validation errors as
some tags cannot be self-closing (for example, span or script).
LPS-49395 SF