How can I escape "&" in XML? [duplicate]
Solution 1:
Use &
in place of &
.
Change it to:
<string name="magazine">Newspaper & Magazines</string>
Solution 2:
& → &
< → <
> → >
Solution 3:
You can use &
in place of &
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined%5Fentities%5Fin%5FXML