Hi all, I would like to know the problem of how to run xsl file in Eclipse. I use jdk 1.6 with Eclipse 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.
A:
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.
Ayrad
2009-12-23 10:35:45
for this, you will need a plugin, like the web tools platform.I don't think there is a "run As XSL Transformation" option in the 'normal' eclipse.
Fortega
2009-12-23 10:41:06
thanks, i will try
thandar
2009-12-23 10:41:08
+1
A:
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
Fortega
2009-12-23 10:36:54
A:
Maybe this article from vogella could help. It regroups the solutions already proposed in an easy-to-understand tutorial.
Baztoune
2009-12-23 10:56:01