急,在线等。。flex怎么解析xml文件,取值显示到界面?
<空间资源><First_ChildNAME='局站'icon="assets/images/legend/Site.jpg"/><First_ChildNAME='机房...
<空间资源>
<First_Child NAME='局站' icon="assets/images/legend/Site.jpg"/>
<First_Child NAME='机房' icon="assets/images/legend/Room.jpg"/>
</空间资源>
<光缆网>
<First_Child NAME='ODF' icon="assets/images/legend/ODF.jpg"/>
<First_Child NAME='光交接箱' icon="assets/images/legend/Optical_Cabinet.jpg"/>
<First_Child NAME='光分纤盒' icon="assets/images/legend/Optical_Fiber_Boxes.jpg"/>
<First_Child NAME='光终端盒' icon="assets/images/legend/Optical_Terminal_Box.jpg"/>
<First_Child NAME='综合箱' icon="assets/images/legend/Integrated_box.jpg"/>
<First_Child NAME='OLT' icon="assets/images/legend/OLT.jpg"/>
<First_Child NAME='OBD' icon="assets/images/legend/OBD.jpg"/>
<First_Child NAME='ONU' icon="assets/images/legend/ONU.jpg"/>
<First_Child NAME='光接头盒' icon="assets/images/legend/Optical_Joint.jpg"/>
<First_Child NAME='光缆预留' icon="assets/images/legend/Fiber optic_cable_reserved.jpg"/>
<First_Child NAME='光缆盘留' icon="assets/images/legend/Room.jpg"/>
<First_Child NAME='光缆段' icon="assets/images/legend/Optical_Cable_Section.jpg"/>
</光缆网>配置文件是这样的,光缆网就是一个子节点 展开
<First_Child NAME='局站' icon="assets/images/legend/Site.jpg"/>
<First_Child NAME='机房' icon="assets/images/legend/Room.jpg"/>
</空间资源>
<光缆网>
<First_Child NAME='ODF' icon="assets/images/legend/ODF.jpg"/>
<First_Child NAME='光交接箱' icon="assets/images/legend/Optical_Cabinet.jpg"/>
<First_Child NAME='光分纤盒' icon="assets/images/legend/Optical_Fiber_Boxes.jpg"/>
<First_Child NAME='光终端盒' icon="assets/images/legend/Optical_Terminal_Box.jpg"/>
<First_Child NAME='综合箱' icon="assets/images/legend/Integrated_box.jpg"/>
<First_Child NAME='OLT' icon="assets/images/legend/OLT.jpg"/>
<First_Child NAME='OBD' icon="assets/images/legend/OBD.jpg"/>
<First_Child NAME='ONU' icon="assets/images/legend/ONU.jpg"/>
<First_Child NAME='光接头盒' icon="assets/images/legend/Optical_Joint.jpg"/>
<First_Child NAME='光缆预留' icon="assets/images/legend/Fiber optic_cable_reserved.jpg"/>
<First_Child NAME='光缆盘留' icon="assets/images/legend/Room.jpg"/>
<First_Child NAME='光缆段' icon="assets/images/legend/Optical_Cable_Section.jpg"/>
</光缆网>配置文件是这样的,光缆网就是一个子节点 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询