- XML code
<cache> <dptNode parentid="32" id="3210" level="1">扬州市 <dptNode parentid="3210" id="321002" level="2">广陵区 <dptNode parentid="321002" id="321002001" level="3">东关街道 <dptNode parentid="321002001" id="321002001001" level="4">琼花观社区居委会</dptNode> <dptNode parentid="321002001" id="321002001002" level="4">个园社区居委会</dptNode> <dptNode parentid="321002001" id="321002001003" level="4">东关街社区居委会</dptNode> <dptNode parentid="321002001" id="321002001004" level="4">宋都社区居委会</dptNode> <dptNode parentid="321002001" id="321002001005" level="4">彩衣街社区居委会</dptNode> <dptNode parentid="321002001" id="321002001006" level="4">教场社区居委会</dptNode> <dptNode parentid="321002001" id="321002001007" level="4">渡江路社区居委会</dptNode> <dptNode parentid="321002001" id="321002001008" level="4">古旗亭社区居委会</dptNode> <dptNode parentid="321002001" id="321002001009" level="4">皮市街社区居委会</dptNode> <dptNode parentid="321002001" id="321002001010" level="4">新仓巷社区居委会</dptNode> <dptNode parentid="321002001" id="321002001011" level="4">何园社区居委会</dptNode> <dptNode parentid="321002001" id="321002001012" level="4">徐凝门社区居委会</dptNode> </dptNode> <dptNode parentid="321002" id="321002002" level="3">汶河街道 <dptNode parentid="321002002" id="321002002001" level="4">四望亭社区</dptNode> <dptNode parentid="321002002" id="321002002002" level="4">石塔社区</dptNode> <dptNode parentid="321002002" id="321002002003" level="4">皇宫社区</dptNode> <dptNode parentid="321002002" id="321002002004" level="4">树人苑社区</dptNode> <dptNode parentid="321002002" id="321002002005" level="4">通泗社区</dptNode> <dptNode parentid="321002002" id="321002002006" level="4">旌忠寺社区</dptNode> <dptNode parentid="321002002" id="321002002007" level="4">常府社区</dptNode> <dptNode parentid="321002002" id="321002002008" level="4">龙头关社区</dptNode> <dptNode parentid="321002002" id="321002002009" level="4">南门街社区</dptNode> <dptNode parentid="321002002" id="321002002010" level="4">荷花池社区</dptNode> <dptNode parentid="321002002" id="321002002011" level="4">小码头社区</dptNode> </dptNode></cache>
像这样子的格式请问怎么解析?
请帮助
------解决方案--------------------------------------------------------
XmlDocument
XmlReader
LINQ
都可以啊
------解决方案--------------------------------------------------------