Robert Koberg wrote:
Will Glass-Husain wrote:

Ah, hi Jonathan how are you?

I think we discussed this issue extensively last time Jonathan was on the
last a couple of years ago.  Perhaps I might suggest the rest of the
Velocity community just refuse to be baited and stick to the topic at hand?
(basically, ignore the temptation to have the last word).

As I remember, the topic was how new community members can help out.


Ooops sorry :)

reading backwards

BTW, I have checked out quite a few templating languages. WRT java, Velocity is the only one that plays nicely with XML.

I've heard this before. I think you must mean that FreeMarker's syntax -- the use of <#...> as delimiters -- confuses XML-oriented editors.

Because, of course, generally, the claim is not valid: there's no general need for a template to be well formed in its output format. For example, it would be surprising if a raw template used to generate Java code was itself compilable java.If you're generating XML, the key thing is that the output be well formed XML and a lots of people use it for that.

But, anyway, FYI that was just addressed. You can now use an alternative syntax where instead of:

<#assign x = 3>

you write

[#assign x=3]

etcetera. So it's now just as XML-friendly as Velocity is. Though, with the difference that FM is a powerful XML transformation tool and a viable replacement for XSLT.

Jonathan Revusky
--
lead developer, FreeMarker project http://freemarker.org
Velocity-FreeMarker comparison page: http://freemarker.org/fmVsVel.html




best,
-Rob



Cheers,
WILL



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to