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 = printFeed.createElementNS("http://www.w3.org/1999/XSL/Format ", "fo:block");

Just checked in the DOM APIdocs, and there it is explicitly mentioned that setting the prefix alone does not influence the namespaceURI.



HTH!

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to