This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
There are 3 ways to avoid this problem
1. Use XML entities, like Nikhil recommended. I think he ran into problems with our XML parser, so he had to mis-type slightly. The entity code for the ampersand character is actually "&" and please note that the final ";" character is required.
2. Use XML CDATA escapes. Like so:
Note the "//" comment marker before the CDATA close "]>". You're dealing with about 3 different syntax forms at the same time so things like this avoid having the wrong thing parsed at the wrong time.
An IDE is no substitute for an Intelligent Developer.