angle bracket in xml value
How can I put an angle bracket ("<") in my xml attribute?
I'm trying to sto开发者_JS百科re an SQL query, but this seems to be illegal.
<add key="query" value="SELECT DISTINCT index FROM table WHERE langCode <> 'FR'"/>
Use <
and >
instead of <
and >
:
<add key="query" value="SELECT DISTINCT index FROM table WHERE langCode <> 'FR'"/>
精彩评论