xml格式:

<?xml version="1.0" encoding="GB2312"?>
<Relations>
<Relation name="PuDian.FrontFlow.In.text" type="1" transmit="PuDian.FrontFlow.In.arr" comment="大厦前置In">
<Agent object="PuDian.YW2.PD-YW2-4948-B4_2-1-4M214.Port-channel1.ifInBitsRate" />
<Agent object="PuDian.YW2.PD-YW2-4948-B4_2-2-4M213.Port-channel1.ifInBitsRate" />
</Relation>
<Relation name="PuDian.FrontFlow.Out.text" type="1" transmit="PuDian.FrontFlow.Out.arr" comment="大厦前置Out">
<Agent object="PuDian.YW2.PD-YW2-4948-B4_2-1-4M214.Port-channel1.ifOutBitsRate" />
<Agent object="PuDian.YW2.PD-YW2-4948-B4_2-2-4M213.Port-channel1.ifOutBitsRate" />
</Relation>
<Relation name="ZhangJ.FrontFlow.In.text" type="1" transmit="ZhangJ.FrontFlow.In.arr" comment="张江前置In">
<Agent object="ZhangJ.YW2.ZJ-YW2-4948-B4_2-1-2M108.Port-channel1.ifInBitsRate" />
<Agent object="ZhangJ.YW2.ZJ-YW2-4948-B4_2-2-2M107.Port-channel1.ifInBitsRate" />
<Agent text="cc">Hello</Agent>
</Relation>
</Relations>

自创格式:

Relatios:
{
Relation:name="PuDian.FrontFlow.In.text", type="1", transmit="PuDian.FrontFlow.In.arr", comment="大厦前置In"
{
Agent:object="PuDian.YW2.PD-YW2-4948-B4_2-1-4M214.Port-channel1.ifInBitsRate",
Agent:object="PuDian.YW2.PD-YW2-4948-B4_2-2-4M213.Port-channel1.ifInBitsRate"
},
Relation:name="PuDian.FrontFlow.Out.text", type="1", transmit="PuDian.FrontFlow.Out.arr", comment="大厦前置Out"
{
Agent:object="PuDian.YW2.PD-YW2-4948-B4_2-1-4M214.Port-channel1.ifOutBitsRate",
Agent:object="PuDian.YW2.PD-YW2-4948-B4_2-2-4M213.Port-channel1.ifOutBitsRate"
},
Relation:name="ZhangJ.FrontFlow.In.text", type="1", transmit="ZhangJ.FrontFlow.In.arr", comment="张江前置In"
{
Agent:object="ZhangJ.YW2.ZJ-YW2-4948-B4_2-1-2M108.Port-channel1.ifInBitsRate",
Agent:object="ZhangJ.YW2.ZJ-YW2-4948-B4_2-2-2M107.Port-channel1.ifInBitsRate",
Agent:text="cc",@text="Hello"
}
}

其中@打头的是用来保存<tag>text</tag>中的text,后面有时间搞个解释器。

最新文章

  1. 使用 Fiddler 上传微信公众账号 自定义菜单
  2. Python文件使用“wb”方式打开,写入内容
  3. oracle表空间不足时的处理方法
  4. 在PHP中$_SESSION的使用方法
  5. Connect教程系列--响应式布局(一)
  6. 译:在C#中使用LINQ To SQL
  7. 安装GRID时跑root.sh脚本报错(ORA-27091: unable to queue I/O)
  8. Dzz任务板初版完成笔记-仿trello私有部署的一款轻量团队任务协作工具。
  9. BZOJ 2588: Spoj 10628. Count on a tree 树上跑主席树
  10. HTML Entity 字符实体
  11. 05_MyBatis基于注解的开发
  12. Filter过滤器介绍
  13. Hive错误:User root is not allowed to impersonate anonymous
  14. jmeter之 jp@gc - Stepping Thread Group
  15. C# #if, #else和#endif预处理指令
  16. 视频支持拖动进度条播放的实现(基于nginx)
  17. XmlIgnore的使用
  18. FastReport.Net使用:[9]多栏报表(多列报表)
  19. 【2017年最新】 iOS面试题及答案
  20. HDU - 1223 DP 分类

热门文章

  1. 共用体的定义和应用【C++】
  2. 截止JDK1.8版本,java并发框架支持锁包括?
  3. 解决Umbraco中Generated文件夹下面model问题
  4. SPOJ - REPEATS Repeats (后缀数组+RMQ)
  5. 20169219《linux内核原理与分析》第六周作业
  6. C# -- 继承规则
  7. 微信小程序分列显示数据
  8. wxpython实现文件拖拽
  9. Java web错误汇总
  10. hdu3830(lca + 二分)