You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robin Green <gr...@hotmail.com> on 2000/11/27 19:11:37 UTC
Re: Formatter problem (regarding languages and text/xml)
"Antonios Peris" <ap...@largemedium.com> 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 cocoon.properties 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 : http://explorer.msn.com