Need to remove <?xml version=“1.0” encoding=“utf-16”?> from the xml

前端 未结 4 1668
你的背包
你的背包 2021-01-01 11:31

Hi i am generating a xml by appying the xsl to a xml input. I need the output without this part \"\"

in

4条回答
  •  死守一世寂寞
    2021-01-01 12:03

    Try adding the omit-xml-declaration="yes" attribute to your xsl:output tag.

    It should then read like this:

    
    

提交回复
热议问题