Well, this is getting a bit more confusing for me.
You mean Transformations in the sense of rendering transformations, right?
I was about to accept that only wiki rendering would be done until… I observed that the $services.rendering.render($xdom, 'xhtml/1.0')
also doesn’t even resolve internationalization macros.
Let me try to detail my use-case, and maybe there’s something I can do. It can all be done in Java for me too but I am missing an example (what’s done in the Getting Started of rendering seems to be for a use case detached for XWiki and, in particular, may be missing context).
I am trying to allow “configuration objects” of “providers” to contain a piece of code. All such occurrences should be rendered within a page (with the HTML of the page).
So it seemed that the normal thing would be to store in java the source of the pieces of code and use velocity to render them. Some rendering should depend on the languages at least, hopefully other objects can be put in the velocity context so that the custom script can read this.
Where can I look for an example of such?
thanks in advance.
Paul