哪个大神解析过这种文件,或者有什么工具可以推荐的

MS20HJ 2017-05-18 07:42:02
<?xml version="1.0" encoding="utf-8"?>
<Organization>
<Department coding="001014" name="卡口配套" modifytime="" sn="" memo="" deptype="1" depsort="14" chargebooth="0">
<Device id="1000239" />
<Device id="1000241" />
<Channel id="1000239$1$0$0" />
<Channel id="1000241$1$0$0" />
</Department>
<Department coding="001a01001013" name="智能" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0">
<Device id="1000010@001" />
<Channel id="1000010@001$1$0$0" />
<Channel id="1000010@001$1$0$1" />
<Channel id="1000010@001$1$0$2" />
<Channel id="1000010@001$1$0$3" />
<Channel id="1000010@001$1$0$4" />
<Channel id="1000010@001$1$0$5" />
<Channel id="1000010@001$1$0$6" />
<Channel id="1000010@001$1$0$7" />
</Department>
<Department coding="001a01001014" name="H.265" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0">
<Device id="1000034@001" />
<Channel id="1000034@001$1$0$0" />
<Channel id="1000034@001$3$0$0" />
<Channel id="1000034@001$3$0$1" />
<Channel id="1000034@001$3$0$2" />
<Channel id="1000034@001$3$0$3" />
<Channel id="1000034@001$3$0$4" />
<Channel id="1000034@001$3$0$5" />
<Channel id="1000034@001$3$0$6" />
<Channel id="1000034@001$4$0$0" />
<Channel id="1000034@001$4$0$1" />
</Department>
<Department coding="001a01001015" name="N" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0" />
<Department coding="001a01001016" name="4K" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0">
<Device id="1000016@001" />
<Channel id="1000016@001$1$0$0" />
<Channel id="1000016@001$3$0$0" />
<Channel id="1000016@001$3$0$1" />
<Channel id="1000016@001$4$0$0" />
</Department>
<Department coding="001a01001017" name="私有" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0">
<Device id="1000039@001" />
<Channel id="1000039@001$1$0$0" />
<Channel id="1000039@001$1$0$1" />
<Channel id="1000039@001$1$0$2" />
<Channel id="1000039@001$1$0$3" />
<Channel id="1000039@001$1$0$4" />
<Channel id="1000039@001$1$0$5" />
<Channel id="1000039@001$1$0$6" />
<Channel id="1000039@001$1$0$7" />
</Department>
<Department coding="001a01001018" name="最最最最卒子子uzzuizuzizizu" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0" />
<Department coding="001a01001019" name="LXX-145-假设备" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0" />
<Department coding="001a01001020" name="门禁" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0" />
<Department coding="001a01001021" name="卡口-修改" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0">
<Device id="1000050@001" />
<Device id="1000054@001" />
<Channel id="1000050@001$1$0$0" />
<Channel id="1000054@001$1$0$0" />
</Department>
<Department coding="001a01001022" name="wang-test" modifytime="" sn="" memo="" deptype="1" depsort="0" chargebooth="0">
<Device id="1000062@001" />
<Channel id="1000062@001$1$0$0" />
<Channel id="1000062@001$1$0$1" />
<Channel id="1000062@001$3$0$0" />
<Channel id="1000062@001$3$0$1" />
<Channel id="1000062@001$4$0$0" />
<Channel id="1000062@001$4$0$1" />
</Department>
</Department>
</Department>


<Devices>
<Device id="1000000@001" type="2" name="IPC-56.202" manufacturer="1" model="" ip="172.7.56.202" port="3777" user="jx" password="jx" desc="" status="2" logintype="" registDeviceCode="" proxyport="0" unitnum="0" deviceCN="" deviceSN="" deviceIp="172.7.56.202" devicePort="3777" devMaintainer="" devMaintainerPh="" deviceLocation="" deviceLocPliceStation="" baudRate="" comCode="" VideoType="" shopName="" address="" firstOwner="" firstPosition="" firstPhone="" firstTel="" serviceType="0" ownerGroup="" belong="" role="0" rights="101000000000000000000000000000000000000010010111000111011111">
<UnitNodes index="0" channelnum="1" streamType="801" subType="2" type="1" zeroChnEncode="0">
<Channel id="1000000@001$1$0$0" name="IPC56.202-999999" desc="" status="0" channelType="1" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" cmsXmlExt="PENhc2NhZGVFeHRlbnNpb24+CiAgPExvbmdpdHVkZT4xMjAuMDEzNTYxMjQ4NzkwNDg8L0xvbmdpdHVkZT4KICA8TGF0aXR1ZGU+MzAuMDI5ODM5NjMxNTkzODUyPC9MYXRpdHVkZT4KICA8bWFwSWQ+bnVsbDwvbWFwSWQ+CjwvQ2FzY2FkZUV4dGVuc2lvbj4=" cameraType="1" CtrlId="" latitude="" longitude="" viewDomain="" cameraFunctions="2" multicastIp="" multicastPort="0" NvrChnlIp="" channelRemoteType="" subMulticastIp="" subMulticastPort="0" />
</UnitNodes>
<UnitNodes index="0" channelnum="2" type="3">
<Channel id="1000000@001$3$0$0" name="IPC-56.108_1" desc="" status="0" channelType="0" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" alarmType="1" alarmLevel="1" />
<Channel id="1000000@001$3$0$1" name="IPC-56.108_2" desc="" status="0" channelType="0" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" alarmType="1" alarmLevel="1" />
</UnitNodes>
<UnitNodes index="0" channelnum="1" type="4">
<Channel id="1000000@001$4$0$0" name="IPC-56.108_1" desc="" status="0" channelType="0" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" alarmType="0" />
</UnitNodes>
</Device>
<Device id="1000001@001" type="2" name="IPC-56.201" manufacturer="1" model="" ip="172.7.56.201" port="37201" user="jx" password="jx" desc="" status="2" logintype="" registDeviceCode="" proxyport="0" unitnum="0" deviceCN="" deviceSN="" deviceIp="172.7.56.201" devicePort="37201" devMaintainer="" devMaintainerPh="" deviceLocation="" deviceLocPliceStation="" baudRate="" comCode="" VideoType="" shopName="" address="" firstOwner="" firstPosition="" firstPhone="" firstTel="" serviceType="0" ownerGroup="" belong="" role="0" rights="101000000000000000000000000000000000000010010111000111011111">
<UnitNodes index="0" channelnum="1" streamType="801" subType="2" type="1" zeroChnEncode="0">
<Channel id="1000001@001$1$0$0" name="IPC11" desc="" status="0" channelType="1" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" cmsXmlExt="PENhc2NhZGVFeHRlbnNpb24+CiAgPExvbmdpdHVkZT4xMjAuMTQwODA1MjQ0NDU1ODY8L0xvbmdpdHVkZT4KICA8TGF0aXR1ZGU+MzAuMjQ5MDg3MDQ0MjQ0MjQ8L0xhdGl0dWRlPgogIDxtYXBJZD5udWxsPC9tYXBJZD4KPC9DYXNjYWRlRXh0ZW5zaW9uPg==" cameraType="1" CtrlId="" latitude="" longitude="" viewDomain="" cameraFunctions="2" multicastIp="" multicastPort="0" NvrChnlIp="" channelRemoteType="" subMulticastIp="" subMulticastPort="0" />
</UnitNodes>
<UnitNodes index="0" channelnum="2" type="3">
<Channel id="1000001@001$3$0$0" name="IPC-56.107_1" desc="" status="0" channelType="0" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" alarmType="1" alarmLevel="1" />
<Channel id="1000001@001$3$0$1" name="IPC-56.107_2" desc="" status="0" channelType="0" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" alarmType="1" alarmLevel="1" />
</UnitNodes>
<UnitNodes index="0" channelnum="1" type="4">
<Channel id="1000001@001$4$0$0" name="IPC-56.107_1" desc="" status="0" channelType="0" channelSN="" rights="101000000000000000000000000000000000000010010111000111011111" alarmType="0" />
</UnitNodes>
</Device>
</Devices>
</Organization>
...全文
131 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
爱摸鱼de老邪 2017-05-18
  • 打赏
  • 举报
回复
JDOM、DOM4J、Xerces、Digester……
I,Frankenstein 2017-05-18
  • 打赏
  • 举报
回复
这不是xml格式??

50,528

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧