avatar
d*r
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,
avatar
s*n
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 的大作中提到】
: 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,

avatar
w*d
3
Maybe IBM's XML4J.

【在 s******n 的大作中提到】
:
: 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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。