XML的简单读取问题,急!,谢谢!
有一个结构如下的XML文件,请问怎么把它读进XMLtextReader里面?谢谢
<xml version="1.0" encoding="GB2312">
<unit name="M" type="长度" value="1" />
<unit name="米" type="长度" value="1" />
<unit name="公尺" type="长度" value="1" />
<unit name="CM" type="长度" value="0.01" />
<unit name="厘米" type="长度" value = "0.01" />
<unit name="公分" type="长度" value = "0.01" />
<unit name="MM" type="长度" value = "0.001" />
<unit name="毫米" type="长度" value = "0.001" />
<unit name="KM" type="长度" value = "1000" />
<unit name="千米" type="长度" value = "1000" />
<unit name="公里" type="长度" value = "1000" />
<unit name="里" type="长度" value = "500" />