急!如何用java把xmlt各节点的内容读取出来,同时生成txt文件? 10
如何让java把xml(是一个http的URL地址,按天生成数据,URL包含日期参数)各节点的内容读取出来,同时按天生成txt文件?请大师指点。xml内容如下:<?xml...
如何让java把xml(是一个http的URL地址,按天生成数据,URL包含日期参数)各节点的内容读取出来,同时按天生成txt文件?请大师指点。
xml内容如下:
<?xml version="1.0"?>
<table>
<row>
<column>1</column>
<column>
<a href="javascript:changeSite('')">A</a>
</column>
<column>2,392,887</column>
<column>2,431,835</column>
<column>46,615.70</column>
</row>
<row>
<column>2</column>
<column>
<a href="javascript:changeSite('')">B</a>
</column>
<column>117,769</column>
<column>212,255</column>
<column>3,016.17</column>
</row>
<row>
<column>3</column>
<column>
<a href="javascript:changeSite('')">C</a>
</column>
<column>108,098</column>
<column>270,458</column>
<column>404.90</column>
</row>
</table>
因为我是个菜鸟,最好能把代码贴上 :) 展开
xml内容如下:
<?xml version="1.0"?>
<table>
<row>
<column>1</column>
<column>
<a href="javascript:changeSite('')">A</a>
</column>
<column>2,392,887</column>
<column>2,431,835</column>
<column>46,615.70</column>
</row>
<row>
<column>2</column>
<column>
<a href="javascript:changeSite('')">B</a>
</column>
<column>117,769</column>
<column>212,255</column>
<column>3,016.17</column>
</row>
<row>
<column>3</column>
<column>
<a href="javascript:changeSite('')">C</a>
</column>
<column>108,098</column>
<column>270,458</column>
<column>404.90</column>
</row>
</table>
因为我是个菜鸟,最好能把代码贴上 :) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询