易截截图软件、单文件、免安装、纯绿色、仅160KB

如何读取xml文件文本?

我找到一个数据源,但那个数据源是一个XML文件,但是他并不像一般的XML文件一样,因为他里面全是一些文本。请问如何将那些文本读取出来?
有啥区别没?
是严格的xml格式,就用xmldocument读,只是途有xml扩展名的话,SteramReader之类的读,另外分析

xmlReader

确实是一个涂有XML扩展名的文件    我想把他读出来放在一个字符串中,不是字符串数组哈,请问该如何,请详细点

XMLDocument,XMLNode

飘过,学习中

可不可以把数据文件放出来展示一下?

1.25,0.84,0.98,False,False;290284,1,0,1.10,0.72,0,1.08,0.74,False,False;290285,1,0.5,1.02,0.80,0.5,1.02,0.80,False,False;290286,1,0.25,0.94,0.88,0.25,0.99,0.83,False,False;290287,1,0.75,0.78,1.04,0.75,0.78,1.04,False,False;290288,1,0.25,1.02,0.80,0.25,1.02,0.80,False,False;290289,1,0.5,0.88,0.94,0.5,0.88,0.94,False,False;290290,1,1.25,0.96,0.86,1.25,0.96,0.86,False,False;290291,1,1.25,0.90,0.92,1.25,0.90,0.92,False,False;290292,1,0.75,0.78,1.04,0.75,0.78,1.04,False,False;290294,1,0.5,0.88,0.94,0.5,0.88,0.94,False,False;290295,1,0.25,1.08,0.74,0.25,1.08,0.74,False,False;302647,1,0.5,0.80,1.02,0.5,0.80,1.02,False,False;302648,1,0.25,0.80,1.02,0.25,0.80,1.02,False,False;302649,1,0.5,1.00,0.82,0.5,0.99,0.83,False,False;302650,1,0.5,0.84,0.98,0.5,0.84,0.98,False,False;302651,1,0,1.08,0.74,0,1.04,0.78,False,False;302652,1,0.5,0.92,0.90,0.5,0.92,0.90,False,False;302653,1,0.75,1.00,0.82,0.75,0.96,0.86,False,False;302654,1,0.25,1.02,0.80,0.25,1.02,0.80,False,False;302655,1,0.25,1.08,0.74,0.25,1.08,0.74


相关问答:

C# DataSet导出xml 批处理(循环)得怎么处理

DataSet导出xml 批处理(循环)得怎么处理
XML文件
<A>
      <B>
        <C>
        </C>
  &nb ......

XML压缩传输 - PowerBuilder / Web 应用

功能说明:Java servlet 把XML数据压缩后发送到PB用户端,PB收到数据后解压出来.
传输要经过Base64编码.
问题是:能收到数据但是解压不出来.想请教大家或者有什么好的办法?
PB可以用"zlibwapi.DLL" 解压
......

这个XML怎么读取 - .NET技术 / ASP.NET

远程读取
C# code:

XmlReader xmlReader = XmlReader.Create("http://google.com/complete/search?output=toolbar&q="+Keyword);
XML内容为
XML code:

<?xml version="1.0" ......

关于读取URL方式提供的XML文件 - Web 开发 / XML/SOAP

如题,我想用dom4j来读取xml的文件
public Document read(String fileName) throws MalformedURLException, DocumentException {
SAXReader reader = new SAXReader();
Document document = read ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号