cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: Formatter problem (regarding languages and text/xml)
Date Mon, 27 Nov 2000 18:11:37 GMT
"Antonios Peris" <> wrote:
>It seems that I have not understood how to use the formatter funcitonality
>in cocoon. I have tried to make my own formatter and use it in some xml
>files without any success at all.
>In the file I specify the new formatter:
>formatter.type.text/test    = org.apache.cocoon.formatter.HTMLFormatter
>and then I configure it:
>formatter.text/test.doctype-public = -//W3C//DTD HTML 4.0 Transitional//EN
>formatter.text/test.MIME-type = text/ru;charset=UTF-8
>.... and so on.
>In the .xml files I then specify
><?cocoon-format type="text/test"?>
><?cocoon MIME-type="text/test"?>

I haven't seen the second one before. I don't think you need it.

>So what I'm I doing  wrong.??

Probably your stylesheet is not copying processing instructions. This is in 
the FAQ.

Get more from the Web.  FREE MSN Explorer download :

View raw message