Пример #1
0
 public void ParseXmlTest1()
 {
     const string cXml = "<wrapper><test><![CDATA[A]]></test><test><![CDATA[B]]></test><test><![CDATA[C&amp;]]></test></wrapper>";
     var sa = new StrArray();
     sa.ParseXml("<test>", cXml, true);
     Assert.AreEqual(3, sa.Count());
     Assert.AreEqual("C&", sa[2]);
 }