使用XSLT进行批处理XML转换 [英] Batch XML transformation using XSLT

查看:94
本文介绍了使用XSLT进行批处理XML转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建批处理程序以使用XSLT将XML转换为XML?我是新手,但它非常重要.

我知道运行批处理背后的理论,我只需要知道用于运行这种类型的批处理的最佳工具和/或编程语言即可.

How do I create a batch program to transform XML to XML using XSLT? I am a novice at batches, but it is vitally important.

I know the theories behind running a batch, I just need to know the best tools and/or programming language to use to run this type of batch.

推荐答案

步骤:
1.查找要转换的XML.得到它. (可以是网络服务响应,也可以是可访问路径中的文本文件)
2.获取XSLT(可能在可访问路径中的文件中)
3.使用XSLT,在XML上应用以获取转换后的最终XML.
4.保存转换后的最终XML供以后使用.

现在,对于第3步:将XSLT应用于XML(如果需要),您可以在Web上找到很多链接.
Steps:
1. Find the XML to transform. Get it. (can be webservice response or in a text file located on an accessible path)
2. Get the XSLT (probably in a file located at accessible path)
3. Use the XSLT, apply on XML to get converted final XML.
4. Save the converted final XML for further use.

Now, for step3: applying XSLT to XML, if needed, you can find lots of links on web.


这篇关于使用XSLT进行批处理XML转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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