I have an xml file which is having this structure :
<?xml version="1.0" encoding="utf-8" ?>
<Countries>
<Australia>
<LabelABN>ABN</LabelABN>
<TextBoxLimitABN>14</TextBoxLimitABN>
<LabelACN>ACN</LabelACN>
<TextBoxLimitACN>14</TextBoxLimitACN>
</Australia>
<Pakistan>
<LabelABN>NTN</LabelABN>
<TextBoxLimitABN>20</TextBoxLimitABN>
<LabelACN>BNN</LabelACN>
<TextBoxLimitACN>22</TextBoxLimitACN>
</Pakistan>
<India>
<LabelABN>NTT</LabelABN>
<TextBoxLimitABN>18</TextBoxLimitABN>
<LabelACN>IDP</LabelACN>
<TextBoxLimitACN>24</TextBoxLimitACN>
</India>
</Countries>
This structure works fine , but if i add a country named Saudi Arabia , it reds out in Visual Studio 2010 . e.g.
<?xml version="1.0" encoding="utf-8" ?>
<Countries>
<Australia>
<LabelABN>ABN</LabelABN>
<TextBoxLimitABN>14</TextBoxLimitABN>
<LabelACN>ACN</LabelACN>
<TextBoxLimitACN>14</TextBoxLimitACN>
</Australia>
<Pakistan>
<LabelABN>NTN</LabelABN>
<TextBoxLimitABN>20</TextBoxLimitABN>
<LabelACN>BNN</LabelACN>
<TextBoxLimitACN>22</TextBoxLimitACN>
</Pakistan>
<India>
<LabelABN>NTT</LabelABN>
<TextBoxLimitABN>18</TextBoxLimitABN>
<LabelACN>IDP</LabelACN>
<TextBoxLimitACN>24</TextBoxLimitACN>
</India>
<Saudi Arabia>
<LabelABN>NTT</LabelABN>
<TextBoxLimitABN>18</TextBoxLimitABN>
<LabelACN>IDP</LabelACN>
<TextBoxLimitACN>24</TextBoxLimitACN>
</Saudi Arabia>
</Countries>
This is my requirement in project to list the countries name with their specs in XML file