<?xml version="1.0" encoding="utf-8" ?>
<xml>
<exception>
<modeule id="test1">
<tipMessage id="m001">连接数据库失败</tipMessage>
<tipMessage id="m002">删除失败</tipMessage>
</modeule>
<modeule id="test2">
<tipMessage id="m001">连接数据库失败</tipMessage>
<tipMessage id="m002">删除失败</tipMessage>
</modeule>
</exception>
<message>
<module id="test3">
<tipMessage id="m001">连接数据库失败</tipMessage>
<tipMessage id="m002">删除失败</tipMessage>
</module>
</message>
</xml>
以上为一个XML文件,我想根据我传入的参数“test1”和“m001”读出节点 <tipMessage id="m001">连接数据库失败</tipMessage>的值,高手请指点
叮当猫咪