Re: Problems with DOMSource

2009-04-06 Thread Sam Fuqua
Thank you. That worked perfectly. On Mon, Apr 6, 2009 at 12:34 PM, Andreas Delmelle < andreas.delme...@telenet.be> wrote: > On 06 Apr 2009, at 18:23, Sam Fuqua wrote: > > Hi Sam > > Yes, I believe you're right, which would explain it not working from the >> DOM, while it would work from the Str

Re: Problems with DOMSource

2009-04-06 Thread Andreas Delmelle
On 06 Apr 2009, at 18:23, Sam Fuqua wrote: Hi Sam Yes, I believe you're right, which would explain it not working from the DOM, while it would work from the String. I currently have: Node contentNode = printFeed.createElement("fo:block"); IIRC, then you would need: Node contentNode = print

Re: Problems with DOMSource

2009-04-06 Thread Sam Fuqua
Andreas, Yes, I believe you're right, which would explain it not working from the DOM, while it would work from the String. I currently have: Node contentNode = printFeed.createElement("fo:block"); where I attach generated FO to contentNode. How would you recommend doing the proper namespacing?

Re: Problems with DOMSource

2009-04-06 Thread Andreas Delmelle
On 06 Apr 2009, at 13:36, Sam Fuqua wrote: Hi I'm using fop .94. I'm reading in a .fo file, which is then manipulated by adding more fo that is generated to the flow "xsl- region-body". When I try to transform the DOMSource, I get two errors: that the root node is not a valid root node an

Problems with DOMSource

2009-04-06 Thread Sam Fuqua
Hi, I'm using fop .94. I'm reading in a .fo file, which is then manipulated by adding more fo that is generated to the flow "xsl-region-body". When I try to transform the DOMSource, I get two errors: that the root node is not a valid root node and that it must be "fo:root", and that "fo:block" i