Re: Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-05 Thread Juergen Lippold
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. protected Document createMyDocument() { DocumentBuilderFactory

Re: Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-05 Thread Keiron Liddle
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.

Re: Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-05 Thread Oleg Tkachenko
Juergen Lippold wrote: Element element = doc.createElement(elm); As Keiron pointed out, it should be Element element = doc.createElementNS(http://www.w3.org/1999/XSL/Format;, elm); -- Oleg Tkachenko Multiconn International, Israel

Re: Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-05 Thread Juergen Lippold
Hy, many thank for the help, It's running :-))) but there are still two more question: - With the namespace attribute I don't need to specify the attribute xmlns:fo anymore right? It's running without the setting (uncomment in code.) private Element createChildNS(Node node, Document

Re: Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-05 Thread Oleg Tkachenko
Juergen Lippold wrote: - With the namespace attribute I don't need to specify the attribute xmlns:fo anymore right? It's running without the setting (uncomment in code.) I think so, because you need namespace, not attribute and imho there is no way in dom1/dom2 to set just namespace node.

Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-04 Thread Juergen Lippold
Hello Oleg, namespaceAware doesn't make a differnce. No matter if true or false. Regards, Juergen Lippold [EMAIL PROTECTED] 04.06.2002 13.46 Uhr Juergen Lippold wrote: thats a good question, I hope that the document is ok. Can I check if the document in memory is a fop-formatted

Re: Antw: Re: Embedded FOP From fo-Document to PDF

2002-06-04 Thread Oleg Tkachenko
Juergen Lippold wrote: namespaceAware doesn't make a differnce. No matter if true or false. Well, I'm out of ideas, lets go inside - show us how do you build Document. -- Oleg Tkachenko Multiconn International, Israel - To