xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Delmelle <andreas.delme...@telenet.be>
Subject Re: Problems with DOMSource
Date Mon, 06 Apr 2009 16:34:34 GMT
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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message