CMarkup的改进[2]

之前发了一点儿,关于CMarkUp的改进的,现在又做了一点改进。可以查找类似这样的路径:/config/diagnostics[2]/file

 代码

http://download.csdn.net/source/2720848

https://download.csdn.net/download/fietiger/2720848

2010-9-26 23:37:38 Info Begin  log..
2010-9-26 23:37:38 Info CMarkUpCrackDlg::OnInitDialog()
2010-9-26 23:37:38 Info XML File has OpenedF:/Wokey/MarkUpCrack/Debug/example.XML
2010-9-26 23:37:38 Info Path after Test.FindElem(/config/diagnostics) is /config/diagnostics
2010-9-26 23:37:38 Info Path after Test.FindElem(/config/diagnostics[2]) is /config/diagnostics[2]
2010-9-26 23:37:38 Info Path after Test.FindPrevElem() is /config/diagnostics
2010-9-26 23:37:38 Info Attribute d is detected at /config/diagnostics with value 3
2010-9-26 23:37:38 Info Path after Test.FindPrevElem() is /config/Testx
2010-9-26 23:37:38 Info Path after Test.FindElem(/config) is /config
2010-9-26 23:37:38 Info Path after Test.FindChildElem(diagnostics) is /config
2010-9-26 23:37:38 Info Child Attribute d is detected at /config with value 3
2010-9-26 23:37:38 Info Path after Test.FindElem(/config) is /config
2010-9-26 23:37:38 Info Path after Test.FindChildElem(diagnostics[2]) is /config
2010-9-26 23:37:38 Info Child Attribute d is detected at /config with value 7
2010-9-26 23:37:38 Info Test.FindGetData(/config/diagnostics[2]/file) is D:/temp/a.txt
2010-9-26 23:37:38 Info Test.FindSetData(/config/diagnostics[2]/file)..
2010-9-26 23:37:38 Info Test.FindGetData(/config/diagnostics[2]/file) is D:/xx.txt
2010-9-26 23:37:38 Info Path is /config/diagnostics[2]/file
2010-9-26 23:37:38 Info Level is 2
2010-9-26 23:37:38 Info EleCount is 11
2010-9-26 23:37:38 Info Path is /config
2010-9-26 23:37:38 Info Level is 0
2010-9-26 23:37:38 Info EleCount is 11
2010-9-26 23:37:38 Info Path is /config/diagnostics[2]
2010-9-26 23:37:38 Info Level is 1
2010-9-26 23:37:38 Info EleCount is 11
2010-9-26 23:38:01 Info End of log..

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值