Jonathan Revusky wrote:

But really, why do you feel a need for a raw template to be well formed XML? Isn't it the output that matters? If you were using FreeMarker or Velocity to generate a Java source file, would you expect the raw template to be compilable java code? (If it were, that would be quite surprising.)

let me expand on my previous email with a brief example.

Lets say I have a content management system that puts XML content pieces into page regions. One of those content pieces has some links that should only be available to certain users at runtime:

<list-o-links>
 <link>everyone can see</link>
 #if ($isWhatever)
   <link>whatever can see</link>
 #end
</list-o-links>

This is transformed to, say, (X)HTML by XSL for a run against the velocity engine at runtime.

make sense?

-Rob

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

Reply via email to