Re: Loading Image Generated from a servlet

Oleg Tkachenko <[email protected]> Tue, 04 Mar 2003 15:17:25 +0200
Newsgroups gmane.text.xml.xsl.general
Organization Multiconn Technologies
Message-ID <[email protected]>
Saravanaan wrote:

>     I tried the same thing you told like
> 
>                 <fo:external-graphic
> src="url('http://localhost/java/Myservlet?Module=ImageCreator&amp;imageid=te
> st')"></fo:external-graphic>. I got an exception as
> 
>     [ERROR] Could not load external SVG: The current document is unable to
> create an element of the requested type (namespace:
> http://www.w3.org/2000/svg, name: HTML).
Looks like 
http://localhost/java/Myservlet?Module=ImageCreator&amp;imageid=test returns 
HTML, probably error page or something. Make sure it's proper URL and it 
returns image.

-- 
Oleg Tkachenko
Multiconn Technologies, Israel