I would like to know the problem of how to run xsl file in Eclipse. I use jdk 1.6 with Ecli开发者_JS百科pse platform. In fact, I want to extract a subset of XML file using XSL because of large size of xml document. I'm only interested in a subset of xml file.
You can install the WTP Project (contains the XSL Tools), which will allow you to right click on a xsl file and 'run' it.
You could use the Ant XSLT Task
Maybe this article from vogella could help. 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.
You can also debug and check in the result view what's going on.
精彩评论