- dynamic解析xml,具体DynamicXml方法(也是key word)自行百度。
string xml = @"<books>
<book> </book>
<book> <title> 123</title> </book>
</books>";
dynamic aa = new DynamicXml(xml);
Console.WriteLine(aa.book[1].title.Value);