What's the accepted way of storing quoted data in XML?

前端 未结 7 1221
攒了一身酷
攒了一身酷 2021-01-04 01:01

What\'s the accepted way of storing quoted data in XML?

For example, for a node, which is correct?

  • (a) Jesse \"The Body\" Ventura
7条回答
  •  心在旅途
    2021-01-04 01:44

    The correct answer is 'C'.

    Single quotes don't really cause a problem, but you need to be careful of ampersands and left angle brackets.

提交回复
热议问题