Xml attribute escape

Hello,



I know I can use <CDATA to escape characters within xml tags but what about attrbutes values?



For example, I have a select box having the following options in xml:



Value desc 1

Value desc 2

Value desc 3

Value desc 4

Value desc 5



Now I know that if “Something” has a & character, I could replace it with &

But what if I need to have a doublequote in the something. let’s say the value would be a doublequote. How do I do that while keeping the doulequotes as my value identifier. I’ve tried " and " but it does not work.



Please let me know



Thank you

You can combine double (") and single (’) quotes to set attributes:
Value desc 5