Hristo Kosev wrote:
> 
> hmmm, as I know Velocity puts authomatically html,
> body tags into the builded page. 

Velocity doesn't do that. It is the layout module that is
doing that. In your TR.props file you are probably using
VelocityECSLayout as your default layout module and this
is where the extra html tags are coming from.


> Is there some way to
> escape that in order to build xml and then apply xsl
> with Cocoon and how should I configure .props files as
> there is very scarce documentation on this topic. 

How about you add some documentation if you found it
scarce? We do what we can, and you're always welcome to
add to the documentation we have.

The short answer is that you can output whatever you
want. If you want to output XML for example you can
either use the VelocityOnlyLayout which gives you
full control over the tags used, or you can use
a RawScreen. Search the mail archives, people have
described the use of RawScreen there. I will try to
add an example to the sample TDK app.

> Also
> the idea of integrating Cocoon and Velocity sounds
> good but can you provide me with some links to
> examples or some docs at least :)
> 
> Hristo


-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://jakarta.apache.org/commons
http://tambora.zenplex.org

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

Reply via email to