XML : Can XML have a tag within text?

Is the following file valid XML?

  <?xml version="1.0" encoding="UTF-8"?>  <note>      <body>Don't forget <i>me</i> this weekend!</body>  </note>    

You can see that <body> has text content, which has another tag <i> inside of it.

No comments:

Post a Comment