本人对 xml不懂,现在别人给我了一段XML代码 让我连接他的数据库 我现在应该如何去做呢?我用的是jspXML 代码如下
<?xml version="1.0" encoding="utf-8" ?>
- <eps411>
<count size="46973" />
- <data>
<record eps400="40206000101" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206000303" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206000404" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206001313" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206001414" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206002525" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206003636" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206003737" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004242" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004343" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004747" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004848" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004949" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206005353" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206005454" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206006262" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206006363" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206006464" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206007272" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206007373" type="ABAB" fl="3000" occupytype="可选号" />
</data>
</eps411>我用JSP应该怎么去调用呢请教各位高手
<?xml version="1.0" encoding="utf-8" ?>
- <eps411>
<count size="46973" />
- <data>
<record eps400="40206000101" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206000303" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206000404" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206001313" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206001414" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206002525" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206003636" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206003737" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004242" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004343" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004747" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004848" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206004949" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206005353" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206005454" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206006262" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206006363" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206006464" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206007272" type="ABAB" fl="3000" occupytype="可选号" />
<record eps400="40206007373" type="ABAB" fl="3000" occupytype="可选号" />
</data>
</eps411>我用JSP应该怎么去调用呢请教各位高手
还有就是你要知道他xml文件里面具体数据的含义啊。要有目的去解析!!