How to read xml file using Sax/Dom parser in Java?
问题 I would like to ask you a problem. I want to read data from xml using either sax/dom parser but I don't know how to implement code in java. Any helps are highly appreciated... Below texts about the requirements: 1/ xml file: <?xml version="1.0" encoding="UTF-8"?> <rootElement> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <queryString> <![CDATA[SELECT * FROM ORDERS]]> </queryString> <field name="ORDERID" class="java