将大型XML文档从一种格式转换为另一种格式的最快捷,最好的方式 [英] Fastest and best way to transform large XML docs from one format to another

查看:151
本文介绍了将大型XML文档从一种格式转换为另一种格式的最快捷,最好的方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一堆大型XML文件(所有文件的总大小超过1 GB),我需要将它们从供应商模式转换为我们的架构。



供应商在服务器上的某个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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆