How to avoid all namespace occurrence in output by writing a single statement in XSLT

前端 未结 4 1278
忘了有多久
忘了有多久 2021-02-20 04:09

I wrote \"exclude-result-prefixes\" and even then I see the name space occurrence appearance in output.



        
4条回答
  •  走了就别回头了
    2021-02-20 04:39

    Try to use this in your stylesheet:

    
    

    I had this inside some tags: xmlns="http://www.w3.org/1999/xhtml, so I added those 2 lines and its ok now.

    This source helped me: http://xmlplease.com/xhtmlxhtml

提交回复
热议问题