metadata读取成Schema;
数据记录读取成<z:row ID="2" CharacterName="Jered Hill-Climber" /> 字段名=字段值读取成row的Attribute.

解决方案 »

  1.   

    用jdom包應該可完成。你在網上查一下jdom包的用法就OK 了。
      

  2.   

    JDOM is XML technology optimised for the Java developer. All previous programming libraries and APIs (application programming interfaces) designed to interact with XML were intended to work with multiple languages. JDOM uses the power of Java to make XML interaction simpler and faster, thus enabling the rapid development of XML applications.查了下jdom的jdoc,也没有相应的转换函数
    http://www.jdom.org/docs/apidocs/index.html
      

  3.   

    我本来以为这些包很普遍了,各个关键词搜遍google,不见踪影
      

  4.   

    可以用webrowset,jdk1.5后支持,可以用writeXml()方法,把整个webRowSet转化为xml文件。