Is there a way to include greater than or less than signs in an XML file?

前端 未结 5 609
别跟我提以往
别跟我提以往 2021-01-01 11:52

I have an XML file from a client that has greater than > and less than < signs in it and it fails an XML format check. Is there a way to get

5条回答
  •  清歌不尽
    2021-01-01 12:36

    You can use the similarly looking full-width less-than (U+FF1C) and full-width greater-than (0xFF1E) signs: <>

    These Unicode characters do not require special encoding.

提交回复
热议问题