<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have to generate a piece of xml, which is in the
folowing format:</FONT></DIV>
<DIV><FONT face=Arial size=2>this is for generating xml-forms for cocoon.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG><EM><?xml version="1.0"
encoding="UTF-8"?><BR><document xmlns:xf="</EM></STRONG><A
href="http://apache.org/cocoon/xmlform/1.0"><STRONG><EM>http://apache.org/cocoon/xmlform/1.0</EM></STRONG></A><STRONG><EM>"><BR>
<xf:form
view="deathcertificate/result.xml"><BR>
<xf:group
class="maintitle"><BR>
<xf:caption>Overlijdensakte
aanvragen</xf:caption><BR>
</xf:group><BR></EM></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My problem is getting the document xmlns line to
work. When I use <FONT face=Arial size=2></FONT> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><FONT
size=2><STRONG><EM></EM></STRONG></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT size=2><STRONG><EM>Element rootElement =
</EM></STRONG></FONT><STRONG><EM><FONT color=#7f0055 size=2>new</FONT><FONT
size=2> Element(</FONT><FONT color=#2a00ff size=2>"document"</FONT><FONT
size=2>, </FONT><FONT color=#2a00ff size=2>"xf"</FONT></EM></STRONG><FONT
size=2><STRONG><EM>,</EM></STRONG></DIV>
<P align=justify></FONT><FONT color=#2a00ff size=2><STRONG><EM>"</EM></STRONG><A
href="http://apache.org/cocoon/xmlform/1.0"><STRONG><EM>http://apache.org/cocoon/xmlform/1.0</EM></STRONG></A><STRONG><EM>"</EM></STRONG></FONT><FONT
size=2><STRONG><EM>);</EM></STRONG></P></FONT>
<DIV>a <STRONG>xf:</STRONG> is placed before the <STRONG>document</STRONG> tag
and I don't want that. </DIV>
<DIV> </DIV>
<DIV>I also want as you can see a <STRONG>xf:</STRONG> placed before every other
tag, without getting the </DIV>
<DIV><STRONG><EM>xmlns:xf="</EM></STRONG><A
href="http://apache.org/cocoon/xmlform/1.0"><STRONG><EM>http://apache.org/cocoon/xmlform/1.0</EM></STRONG></A><STRONG><EM> </EM></STRONG>attribute
everywhere.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>is there a way of doing this? I would be very grateful</DIV>
<DIV> </DIV>
<DIV>Thnx</DIV>
<DIV> </DIV>
<DIV>Twan<BR></DIV></FONT></BODY></HTML>