如何读取xml文件的信息,并把他全部显示在richtextbox中??
有一个xml文件如下:
--------------------wjh_xml.xml-------------------
<?xml version="1.0" encoding="gb2312" standalone="no" ?>
- <template xmlns="opacs">
<text xmlns="">肝左叶厚</text>
- <option xmlns="" caretpos="8" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,上下径</text>
- <option xmlns="" caretpos="20" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,右肝斜径</text>
+ <option xmlns="" caretpos="34" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,肋下</text>
- <option xmlns="" caretpos="44" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm。肝脏外形</text>
- <option xmlns="" caretpos="59" itemlen="6">
不正常
<item xmlns="">不正常</item>
<item xmlns="">正常</item>
</option>
<text xmlns="">,缩小,回声增多,增粗,肝静脉显示不清晰,门静脉系统明显增宽。门静脉主干内径</text>
- <option xmlns="" caretpos="143" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,内未见异常回声。胆囊大小</text>
- <option xmlns="" caretpos="176" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">×</text>
- <option xmlns="" caretpos="181" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,囊壁光滑,胆汁透声好,胆总管内径</text>
- <option xmlns="" caretpos="220" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,胆总管、左右肝管及肝内胆管不同程度增宽,右肝管宽:</text>
- <option xmlns="" caretpos="277" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm。胆总管下段管腔可探及</text>
- <option xmlns="" caretpos="304" itemlen="8">
结石回声
<item xmlns="">结石回声</item>
<item xmlns="">无结石</item>
</option>
<text xmlns="">,肝内可见数枚强光点,成闪烁状及串珠状。脾厚</text>
- <option xmlns="" caretpos="358" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,肋下</text>
- <option xmlns="" caretpos="368" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm,脾静脉内径</text>
- <option xmlns="" caretpos="384" itemlen="3">
000
<item>000</item>
</option>
<text xmlns="">mm。</text>
</template>
请问:如何读取该xml文件,并把他显示在richtextbox中?
特别说明:这是一个windows应用程序!
先道谢了!!