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

前端 未结 5 604
别跟我提以往
别跟我提以往 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:37

    You may try to use it like this:

    < = <
    
    > = >
    

    These are known as Character Entity References

提交回复
热议问题