On Wed, 2002-06-05 at 08:45, Juergen Lippold wrote:
> OK so let's start,
> now I have got a Method to create the document, after this part I add some rows and 
>colomns to the table.
> So I'm allways adding Elements with or without attributes.
> The result is the fo-file I already sent.
>     Element root = createChild(doc, doc, "fo:root");
>     root.setAttribute("xmlns:fo", "http://www.w3.org/1999/XSL/Format";);
> ...

According to this:

you have set the foot element with the attribute name "xmlns:fo" and
value "http://www.w3.org/1999/XSL/Format";.
You want to set the the attribute with the namespace, try
setAttributeNS. You need to set the namespace correctly everywhere.

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to