Escape double quote character in XML

ufukgun picture ufukgun · Aug 3, 2009 · Viewed 147.9k times · Source

Is there an escape character for a double quote in xml? I want to write a tag like:

<parameter name="Quote = " ">

but if I put ", then that means string has ended. I need something like this (c++):

printf("Quote = \" ");

Is there a character to write before the double quote to escape it?

Answer

Andrew Hare picture Andrew Hare · Aug 3, 2009

Try this:

&quot;