寻找XSLT的替代品。 [英] Looking for alternate for XSLT.

查看:202
本文介绍了寻找XSLT的替代品。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在我的Java应用程序系统中,我们有一个功能,它将XML作为输入并将其转换为不同的XML格式。对于此转换,使用MapForce-XSLT。经过多日的维护和增强,XSLT的产品线已经发展到数千条生产线,现在很难管理。 :)



现在我们计划用其他组件/ Rule-Engine替换Mapforce-XSLT。我有以下查询。



1)是否有任何人使用任何可用于转换一种格式的XML输入的componentsnet / rule-engine(基于Java / Unix)在其他格式?



2)Mono-Framework在Unix上运行.net框架应用程序是否正常工作?



先谢谢。

Hi,

In my Java application system, we have one functionality which takes XML as an input and transforms it into different format of XML. For this transformation MapForce-XSLT is used. By many days of maintenance and enhancements lines of XSLT has gone to several thousands of lines and now its difficult to manage. :)

Now we are planning to replace Mapforce-XSLT by some other component/Rule-Engine. I have below queries.

1) Has any one used any componenet/rule-engine(Java/Unix based) which can be used to transform one format of XML input in other format?

2) Does Mono-Framework works fine to run .net framework application on Unix?

Thanks in Advance.

推荐答案

  1. 我与他人共同创作了这样的引擎及其体系结构,但它并不是真正可访问的,而且很多,比你想要的更通用。但它有点过时了。适当的Java或.NET方法应该是基于反射的,也许在.NET上也应该使用 System.Reflection.Emit 。这是在这里认真讨论的两大话题。
  2. Nono确实存在一些问题,但一般来说,如果你使用库的标准部分,基类库和一些非标准部分(特别是ADO。 NET, System.Windows.Forms ,但是以非常准确和兼容的方式进行,.NET程序集在Unix上运行没有重新编译。是一个兼容性评估工具。无论如何,你应该在Mono上重新测试所有程序集。你可以使用Mono for Windows来实现这个目的。
  1. I co-authored such engine and its architecture, but it is not really accessible, and much, much more general then what you want. It''s somewhat obsolete though. An adequate Java or .NET approach should rather be Reflection-based, perhaps on .NET is should also use System.Reflection.Emit. This is two big topic to discuss here seriously.
  2. Nono does have some problems, but generally, if you use standard part of the library, Base Class Library, and some non-standard parts (notably, ADO.NET, System.Windows.Forms, but do it in a very accurate and compatible way, the .NET assemblies run on Unix without recompilatipon. There is a compatibility assessment tool. Anyway, you should re-test all assemblies on Mono. You can use Mono for Windows for this purpose.





-SA


这篇关于寻找XSLT的替代品。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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