求救!关于TreeView显示XML的问题!
XML格式如下,我想在reeView中显示如下XML中标签为title的内容,并生成树。那位兄弟姐妹帮帮忙吧!急救啊!分不够另开贴再给!
<?xml version="1.0" standalone="no"?>
<!--以下是课程信息!-->
<manifest>
<metadata />
<organizations>
<organization identifier="O0001">
<title>中文课</title>
<items identifier="I0001">
<title>第一章</title>
<items identifier="I0002">
<title>第一节</title>
<items identifier="I0003">
<title>第1小节</title>
<items identifier="I0004" identifierref="R0004">
<title>question.htm</title>
</items>
</items>
<title>第二节</title>
<items identifier="I0003">
<title>第1小节</title>
<items identifier="I0004" identifierref="R0004">
<title>question.htm</title>
</items>
</items>
</items>
</items>
</organization>
</organizations>
<resources>
<resources identifier="R0004" href="question1.htm">
<file href="question1.htm" />
</resources>
</resources>
</manifest>
我想得到的结果应该是这样的:
中文课
第一章
第一节
第1小节
question.htm
第二节
第1小节
question.htm