Convert XML file to CSV in java

后端 未结 8 887
时光说笑
时光说笑 2020-12-05 01:17

@Before There will be probably some duplicate questions suggestions, I don\'t think that is the case maybe read this first, I\'ll try to be as brief as possible. Title gives

8条回答
  •  失恋的感觉
    2020-12-05 01:52

    Note that this would be a prime example of using XSLT except that most XSLT processors read in the whole XML file into memory which is not an option as it is large. Note, however, that the enterprise version of Saxon can do streaming XSLT processing (if the XSLT script adheres to the restrictions).

    You may also want to use an external XSLT processor outside your JVM instead, if applicable. This opens up for several more options.

    Streaming in Saxon-EE: http://www.saxonica.com/documentation/sourcedocs/serial.html

提交回复
热议问题