This one is long folks. Sorry, can't be helped.
Sylvain Wallez wrote:
Stefano Mazzocchi wrote:
Sure, but the question is: once the syntax starts to get ugly for
both because of changes we made to the language that make sense only
on transformation and not on generation, would it still be the cas
Roy G. Biv wrote:
I'm almost afraid to bring this up since I'm coming from a point of view
where I actually like XSLT. Yes, I'm one of *those* people. ;-)
But when I saw this:
Bertrand Delacretaz wrote:
Then, Bob, who's in charge of the final presentation, writes another
template to convert th
I'm almost afraid to bring this up since I'm coming from a point of view
where I actually like XSLT. Yes, I'm one of *those* people. ;-)
But when I saw this:
Bertrand Delacretaz wrote:
Then, Bob, who's in charge of the final presentation, writes another
template to convert this logical documen
Stefano Mazzocchi wrote:
Bertrand Delacretaz wrote:
D4) Bob was initially confused about this generator/transformer
thing, why both? Alice told him not to worry, generators are not his
business anyway, he's only a Cocoon Transformer Template Designer
(but a good one after only four weeks here)
Le 7 déc. 04, à 00:41, Stefano Mazzocchi a écrit :
Bertrand Delacretaz wrote:
...
-oo-
Advantages:
A1) There's only one implementation of the template and expression
evaluation mechanisms.
Ok
A2) Bob can ask Alice for help with the templates, she knows them in
and out as that's what she's using
Bertrand Delacretaz wrote:
Le 5 déc. 04, à 06:14, Stefano Mazzocchi a écrit :
Bertrand Delacretaz wrote:
...That's what I mean - having a transformer that can use the same
template syntax as used in the generator, so that the template
language can be used for both the generation and transformatio
Le 6 déc. 04, à 10:10, Daniel Fagerstrom a écrit :
...BTW: I'm becoming more and more worried about the attribute
template sytax that you used in your examples ;)
I hope the syntax in my examples is so bad that people just dismiss it
and focus on the rest of the story ;-)
-Bertrand
smime.p7s
Bertrand Delacretaz wrote:
...
Advantages:
...
I agree with your motivation. I would also like to add that when we have
introduced a separate formating layer and enforced side effect free
templates, the conceptual difference between transforming XML input in a
transformer and reading from, e.g.
Le 5 déc. 04, à 06:14, Stefano Mazzocchi a écrit :
Bertrand Delacretaz wrote:
...That's what I mean - having a transformer that can use the same
template syntax as used in the generator, so that the template
language can be used for both the generation and transformation
steps.
My FS detector is