d*****r 发帖数: 18 | 1 Which is the best xml parser for java?
I installed JAXP but I don't like the idea of using
com.sun.* package to generate a xml file. Who can recommend
a better one? Thanks, | s******n 发帖数: 22 | 2
to parse an .xml into a DOM, try
DOMParser in org.apapche.xerces.parsers
to serialize the DOM back to .xml, try
XMLSerialize in org.apache.xml.serialize
sure there are also tools dealing with SAX or so.
http://xml.apache.org/xerces-j/index.html
【在 d*****r 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Which is the best xml parser for java? : I installed JAXP but I don't like the idea of using : com.sun.* package to generate a xml file. Who can recommend : a better one? Thanks,
| w****d 发帖数: 743 | 3 Maybe IBM's XML4J.
【在 s******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : : to parse an .xml into a DOM, try : DOMParser in org.apapche.xerces.parsers : to serialize the DOM back to .xml, try : XMLSerialize in org.apache.xml.serialize : sure there are also tools dealing with SAX or so. : http://xml.apache.org/xerces-j/index.html
|
|