XSLT self-closing tags issue

后端 未结 12 1083
遥遥无期
遥遥无期 2020-12-08 20:19

I am using xslt to transform an xml file to html. The .net xslt engine keeps serving me self-closing tags for empty tags.

Example:

12条回答
  •  Happy的楠姐
    2020-12-08 20:53

    Change your xsl:output method to be html (instead of xml).

    Or add it if you haven't already got the element

    
    

提交回复
热议问题