You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sreekumar Pulakkazhy <s....@habibbank.com> on 2003/09/07 11:36:49 UTC
xmlns: declaration in generated output
Hi All,
I am using cocoon 2.1 with xml forms under tomcat 4.1.12 ( and jdk 1.4.1 ).
In the generated output I have the name space declaration for the xf tag also
appearing as an attribute. Is there anyway to remove it. This causes the
generated wml scripts not being
recognized. Following is a sample output .
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002"><template><do
type="prev" label="Back"><prev/></do></template><card id="start"
title="WAP"><p>Welcome to WAP </p></card>
</wml>
Here somhow this string (
"xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002" ) is also generated
with the output. Please help me...
-Thanks & Regards to all
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: xmlns: declaration in generated output
Posted by Jorg Heymans <jh...@coeno.com>.
the wiki provides a wealth of information on topics like this :-)
check out http://wiki.cocoondev.org/Wiki.jsp?page=RemoveNamespaces
Sreekumar Pulakkazhy wrote:
>Hi All,
> I am using cocoon 2.1 with xml forms under tomcat 4.1.12 ( and jdk 1.4.1 ).
>In the generated output I have the name space declaration for the xf tag also
>appearing as an attribute. Is there anyway to remove it. This causes the
>generated wml scripts not being
>recognized. Following is a sample output .
>
><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
>"http://www.wapforum.org/DTD/wml_1.1.xml">
><wml xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002"><template><do
>type="prev" label="Back"><prev/></do></template><card id="start"
>title="WAP"><p>Welcome to WAP </p></card>
></wml>
>Here somhow this string (
>"xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002" ) is also generated
>with the output. Please help me...
>
>-Thanks & Regards to all
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org