简体   繁体   English

在Eclipse中运行xsl文件的示例

[英]example of running xsl file in Eclipse

I would like to know the problem of how to run xsl file in Eclipse. 我想知道如何在Eclipse中运行xsl文件的问题。 I use jdk 1.6 with Eclipse platform. 我在Eclipse平台上使用jdk 1.6。 In fact, I want to extract a subset of XML file using XSL because of large size of xml document. 实际上,由于xml文档很大,我想使用XSL提取XML文件的子集。 I'm only interested in a subset of xml file. 我只对xml文件的子集感兴趣。

Maybe this article from vogella could help. 也许来自vogella的这篇文章可能会有所帮助。 It regroups the solutions already proposed in an easy-to-understand tutorial. 它重新组合了一个易于理解的教程中已经提出的解决方案。

Not sure exactly what the problem you are having but you can right click on your xsl file in eclipse and choose "Run As" XSL Transformation and give it the xml you want. 不确定是什么问题,但是可以右键单击eclipse中的xsl文件,然后选择“运行方式” XSL Transformation,并为其提供所需的xml。

You can also debug and check in the result view what's going on. 您还可以调试并检查结果视图中的情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM