cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna Afonchenko" <a...@ubaccess.com>
Subject Re: Jtidy with properties
Date Mon, 24 Feb 2003 06:58:59 GMT
Robert
You need to create file jtidy.properties and put it into your cocoon
directory (together with sitemap.xmap file).
In this file you set all the tidy properties that you need, e.g.:
output-xml=yes
output-xhtml=no
etc.

In sitemap you need to edit the HTMLGenerator configuration to check the
properties file:
<map:generator type="html" src="org.apache.cocoon.generation.HTMLGenerator">
    <jtidy-config>jtidy.properties</jtidy-config>
</map:generator>

This is explained in
http://xml.apache.org/cocoon/userdocs/generators/html-generator.html

Anna

----- Original Message -----
From: "Robert Sösemann" <robert.soesemann@gmx.de>
To: <cocoon-users@xml.apache.org>
Sent: Sunday, February 23, 2003 1:04 PM
Subject: Jtidy with properties


Hello,

I want to use Jtidy for beatifying the serializers html. I think coocoons
htmlserializer uses it by default. But it doenst do identation. So i need a
properites file.

Where should I place this file?
Do I need to add code to the sitemap or xconf?

Maybe you can give me example code.

Thanks in advance.

Rob.



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message