Parsing large XML documents in JAVA

前端 未结 4 1981
渐次进展
渐次进展 2020-12-14 22:14

I have the following problem:

I\'ve got an XML file (approx 1GB), and have to iterate up and down (i.e. not sequential; one after the other) in order to get the req

4条回答
  •  悲&欢浪女
    2020-12-14 22:55

    If you want to use a higher-level approach than SAX, which can be very tricky to program, you could look at streaming XSLT transformations using a recent Saxon-EE release. However, you've been too vague about the precise processing that you are doing to know whether this will work for your particular case.

提交回复
热议问题