Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Is there something like a xslt to jet translator?
Is there something like a xslt to jet translator? [message #34936] Thu, 04 October 2007 11:41 Go to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
Hi everybody.
Just out of curiosity, is there something like a xslt to jet translator
around that you heard of?.
Is not something I really need, but there is an standard that provides
some transformation rules in xslt format and could be useful.
Regretfully, is not something I have time to create myself right now.
Regards,
Juan Pedro
Re: Is there something like a xslt to jet translator? [message #34970 is a reply to message #34936] Thu, 04 October 2007 13:03 Go to previous messageGo to next message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
Juan Pedro:

No. But, some suggestions:

1) It would be fairly easy to make a JET tag that invoked an XSLT
transformation on some input. There are a lot of possibilities:

* XSLT template could be specified by:
* executing a JET template
* loading a static XSL file from the JET transformation
* loading an XSL file from the workspace (presumably specified by the JET
transform's input).
* XML input to the XSLT transform:
* The output of a JET template expansion
* The static content of a tag
* Some XML document either in the JET transformation or in the workspace
* XLST transform output
* Stream it into the result of a JET template
* Load as a document (set it to a JET xpath variable) so that JET can
further process it.

2) If you are really ambitious, XSLT tranforms are XML documents, so
presumably you could traverse these, and create equivalent JET templates,
but this seems like too much work for too little gain.

Paul


"Juan Pedro Silva" <jpsilvagallino@gmail.com> wrote in message
news:fe2jgn$2ha$1@build.eclipse.org...
> Hi everybody.
> Just out of curiosity, is there something like a xslt to jet translator
> around that you heard of?.
> Is not something I really need, but there is an standard that provides
> some transformation rules in xslt format and could be useful.
> Regretfully, is not something I have time to create myself right now.
> Regards,
> Juan Pedro
Re: Is there something like a xslt to jet translator? [message #35002 is a reply to message #34970] Thu, 04 October 2007 14:35 Go to previous message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
Paul, thank you very much for your suggestions.
If I find some spare time I may think of developing something generic
enough so that it's useful to the rest of the users.
Regards,
Juan Pedro

Paul Elder escribió:
> Juan Pedro:
>
> No. But, some suggestions:
>
> 1) It would be fairly easy to make a JET tag that invoked an XSLT
> transformation on some input. There are a lot of possibilities:
>
> * XSLT template could be specified by:
> * executing a JET template
> * loading a static XSL file from the JET transformation
> * loading an XSL file from the workspace (presumably specified by the JET
> transform's input).
> * XML input to the XSLT transform:
> * The output of a JET template expansion
> * The static content of a tag
> * Some XML document either in the JET transformation or in the workspace
> * XLST transform output
> * Stream it into the result of a JET template
> * Load as a document (set it to a JET xpath variable) so that JET can
> further process it.
>
> 2) If you are really ambitious, XSLT tranforms are XML documents, so
> presumably you could traverse these, and create equivalent JET templates,
> but this seems like too much work for too little gain.
>
> Paul
>
>
> "Juan Pedro Silva" <jpsilvagallino@gmail.com> wrote in message
> news:fe2jgn$2ha$1@build.eclipse.org...
>> Hi everybody.
>> Just out of curiosity, is there something like a xslt to jet translator
>> around that you heard of?.
>> Is not something I really need, but there is an standard that provides
>> some transformation rules in xslt format and could be useful.
>> Regretfully, is not something I have time to create myself right now.
>> Regards,
>> Juan Pedro
>
>
Previous Topic:XPath on EMF to subclass not behaving
Next Topic:JET editor 0.8.1 and 0.9.0M2 broken?
Goto Forum:
  


Current Time: Thu Apr 18 23:52:37 GMT 2024

Powered by FUDForum. Page generated in 0.02144 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top