|
Re: Is there something like a xslt to jet translator? [message #34970 is a reply to message #34936] |
Thu, 04 October 2007 13:03 |
Paul Elder 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 |
Juan Pedro Silva 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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02144 seconds