xml遍历 取节点放入对象
//定义了一个类 printpublic class Print{ public string ip; public string items;}
<?xml version="1.0" encoding="utf-8"?><PRINTS> <PRINT> <IP>1.1.1.1</IP> <ITEMS>ASDSA</ITEMS> </PRINT><PRINT> <IP>2.2.1.1</IP> <ITEMS>QWEA</ITEMS> </PRINT>