[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Run XSL transform in my RCP application?

There should be no problem running an XSLT transform in RCP (as running the transform is just basic Java). FYI: I believe an xslt processor is included with Java 1.5+, if you're running Java 1.4 or before, you'd need to add Xalan or some other XSLT libraries to you RCP plugin's classpath.

Here's a good link to get some information/examples on XSL transforms in Java:
http://www.onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html?page=3


Thanks,

Matt

Gaff wrote:
Hi all,

I have a GMF RCP application and once a user has completed creating their model I need them to be able to run a xsl transform across the RCP app so it can be uploaded a server.

Can this be done from an RCP application? Could someone tell me how I might go about doing this?

How I see it happening is that the user selects the file to be uploaded and before the file is sent off the transform is run. So I'd guess the transform API would be contained in some SWT.


Thanks for your help,

Gaff