cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kavalar <kava...@bokowsky.de>
Subject Re: XHTML Serializer
Date Wed, 19 Sep 2001 23:40:25 GMT
Well, if i do that, all i get is replies to my older questions.

exclude-result-prefixes didnt get rid of the default namespace, and using '#default' as suggested
didnt work, either.
Furthermore, i still got all the namespaces of elements further down the tree than the root
element. How do i get rid of them?

thanks
martin    



Michael McKibben wrote:

>Search the mail list archives for this month on "exclude-result-prefixes".
>
>Regards,
>
>--mike
>
>On Wed, 19 Sep 2001, Martin Kavalar wrote:
>
>>that still doesnt get rid of any namespaces, it produces the same output
>>as the code i used i think. Anyone know how to get rid of the namespaces?
>>
>>Colin Paul Adams wrote:
>>
>>>>>>>>"Martin" == Martin Kavalar <kavalar@bokowsky.de> writes:
>>>>>>>>
>>>   Martin> I was wondering why there is no XHTML serializer in
>>>   Martin> c2. When defining my own i use the XML serializer and set
>>>   Martin> the content type to text/html. Unfortunatly i then get all
>>>   Martin> the namespaces from previous documents in my xhtml which
>>>   Martin> keeps it from validating as XHTML 1.0. Can anyone help?
>>>   Martin> thanks martin
>>>
>>>here's what I use:
>>>
>>>     <map:serializer name="xhtml" mime-type="text/html"
>>>       src="org.apache.cocoon.serialization.XMLSerializer">
>>>       <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
>>>       <doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype-system>
>>>       <encoding>UTF-8</encoding>
>>>       <omit-xml-declaration>no</omit-xml-declaration>
>>>     </map:serializer>
>>>
>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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