How to store "<" in an XML attribute for configuration section?>
I'm using a custom configuration section in my web.config file for ASP.NET
One of my fields is:
&l开发者_JAVA百科t;add percent="5" label="<5%" />
As you can see in label I have a "<" sign - this is causing errors. How can I store this value there without having compile issue?
Thanks!
The escape sequence for this character in XML is
<
The lt stands for "less than"
精彩评论