SelectSingleNode查询时,单引号有关问题

SelectSingleNode查询时,单引号问题在使用selectsinglenode进行节点查询的时候SelectSingleNode( ....../

SelectSingleNode查询时,单引号问题
在使用selectsinglenode进行节点查询的时候
SelectSingleNode( "....../DataDescription[@Value= ' "   &   data   &   " '] ")
如果data中含有单引号,就会报错,查询就会出问题。
请问如何处理一下呢?转义?

[解决办法]
Entity Entity Reference Meaning
lt &lt; < (less than)
gt &gt; > (greater than)
amp &amp; & (ampersand)
apos &apos; ' (apostrophe or single quote)
quot &quot; " (double quote)