xml文件解析问题
被解析的文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<layer name="SMU">
<layer name="rollback"><cppcompile><compile-errors>0</compile-errors>
<compile-warnings>0</compile-warnings>
<link-errors>0</link-errors>
<link-warnings>0</link-warnings></cppcompile></layer>
</layer>
解析处理如下:
<postProcesser type="xml" file="@{outputDir}@{layerpath}/summary.xml">
<xmlcolumn property="antproperty.compileErrors" xPath="//cppcompile/compile-errors"/>
<xmlcolumn property="antproperty.compileWarnings" xPath="//cppcompile/compile-warnings"/>
<xmlcolumn property="antproperty.linkErrors" xPath="//cppcompile/link-errors"/>
<xmlcolumn property="antproperty.linkWarnings" xPath="//cppcompile/link-warnings"/>
</postProcesser>
总是报错,鄙人对xml一窍不通,恳请大家多指点,谢谢了
End_rbody_65463100//-->
该回复于2010-05-17 08:29:40被版主删除
对我有用[0]
丢个板砖[0]
引用
举报
管理
TOP
lovelvandsj
(lovelvandsj)
等 级:
#2楼 得分:0回
相关问答:
如何对xml内容数据进行比较
例如:
<?xml version='1.0' encoding='utf-8'?>
<TestLIST>
<PID>40</PID>
<TestName>深圳市</TestName>
......
<?xml version="1.0"?>
<root>
<status>433</status>
<msg>这个是汉字</msg>
<serialno>123</serialno>
</root>
如何用ASP读取 status值 ......
用xml解析后,然后再listbox中写实出来。
注:使用系统提供的xml解析器。。。有没有这方面的例子。。哪位发我一份。
邮箱:707857176@qq.com
用SyExpat啊 sax的。
www.devdiv.net可以搜到用法,也可以搜 ......
现在我写了存储过程,把表里面的数据导出到xml中,现在的格式是:
<?xml version="1.0" encoding="GBK" ?>
<PEOPLE>
<PERSON PERSONID="1">
&l ......
如何用ATL窗体应用程序中用System.Xml遍历一个Xml文件
你说的是托管代码?
。
vc可用msxml
http://msdn.microsoft.com/en-us/library/ms767594(VS.85).aspx
MSXML4
//引入msxml4.dll &nbs ......