将大型XML文档从一种格式转换为另一种格式的最快捷,最好的方式 [英] Fastest and best way to transform large XML docs from one format to another
问题描述
供应商在服务器上的某个FTP位置有一个ZIP文件(它包含大型XML文件)。我必须选择该ZIP文件,然后转换所有可用的XML文件。转换为我们的架构格式后,我需要将数据保存在数据库中。
实现这一点的好设计是什么?支持Java的相关工具和实用程序是什么?
我使用Saxon-EE进行转换和Woodstox进行XML解组。 p>
I have a bunch of large XML files (total size of all files is more than 1 GB) and I need to transform them from a vendor schema to our schema.
The vendor has one ZIP file (it contains large XML files) at some FTP location on its server. I have to pick that ZIP file up and then transform all available XML files. After transforming to our schema format, I need to persist the data in a database.
What is a good design to implement this? What are relevant tools and utilities which support Java?
I used Saxon-EE for transformation and Woodstox for XML unmarshalling.
这篇关于将大型XML文档从一种格式转换为另一种格式的最快捷,最好的方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!