@Shikha,
I think what is needed is this. As I had written, we need to get away from enclosing a set of same-type quotes within another set. That is, it won't work to put "" inside of "". You wouldn't even want to see that an email. It would be like: "The generator produces 300W. The technician said, verbatim, "300W output". Okay?". If this is confusing to us, imagine some parser trying to read it. The parser would have to somehow (at a low level) look for a start-of quote, and then progress through the
string looking for the end-of-quote. It only can detect symbols from Ascii/Unicode. So if it finds double-quote, it will look for the next double-quote.
@Ahmed,
Unfortunately, it is not enough to escape the inner double-quote, here. That could work if just making a
Java quote-within-string, but not for handing something off to XML. XML does this by enclosing a different type of quote. If the outside has double, the inner has single, and vice-versa.
What could confuse one who is not used to doing this, is the fact that Java, and most other programming languages, has nesting of braces. Nesting of quotes does not work in XML. If you had to go three levels deep, it might be time to use an entity reference ("e;) instead. I think, however, if you don't have to do that, do not bother, because it will make this lengthy string even less readable.
I will post this, but I will also check the way the web page colors it. If the XML code section has a change in coloring after one of the quotes, I will adjust it accordingly and post it again. So, I will be leveraging something here, to check what I've done. I will post another message when it looks right to me. OK?