469,282 Members | 2,078 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

problem external graphic && URL with parameters

Hi,
I have problem to create a well formed xsl-fo document using images
dynamically generated from an http request

using this tag:
<fo:external-graphic content-type="content-type:image/gif"
src="controller.jsp?page=test&mode=image" />

doesn't work (it says a ';' is missing)
the controller.jsp is sending a gif image to the browser and is
working fine when called from simple html
everithing works fine like this:
<fo:external-graphic content-type="content-type:image/gif"
src="mydomain.com/image.gif" />
any idea?
thanks in advance
Jul 20 '05 #1
2 4804
curwen wrote:
Hi,
I have problem to create a well formed xsl-fo document using images
dynamically generated from an http request

using this tag:
<fo:external-graphic content-type="content-type:image/gif"
src="controller.jsp?page=test&mode=image" />

doesn't work (it says a ';' is missing)
the controller.jsp is sending a gif image to the browser and is
working fine when called from simple html
everithing works fine like this:
<fo:external-graphic content-type="content-type:image/gif"
src="mydomain.com/image.gif" />
any idea?
thanks in advance


hi,

remember that fo is xml
thus, & must be escaped unless it introduces an entity that ends with ;

src="controller.jsp?page=test&amp;mode=image"

--
Cordialement,

///
(. .)
-----ooO--(_)--Ooo-----
| Philippe Poulard |
-----------------------

Jul 20 '05 #2
many thanks!
I guess what you're thinking: 'what a newby'

Philippe Poulard <Ph**************@sophia.inria.fr> wrote in message news:<bk**********@news-sop.inria.fr>...
curwen wrote:
Hi,
I have problem to create a well formed xsl-fo document using images
dynamically generated from an http request

using this tag:
<fo:external-graphic content-type="content-type:image/gif"
src="controller.jsp?page=test&mode=image" />

doesn't work (it says a ';' is missing)
the controller.jsp is sending a gif image to the browser and is
working fine when called from simple html
everithing works fine like this:
<fo:external-graphic content-type="content-type:image/gif"
src="mydomain.com/image.gif" />
any idea?
thanks in advance


hi,

remember that fo is xml
thus, & must be escaped unless it introduces an entity that ends with ;

src="controller.jsp?page=test&amp;mode=image"

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by C. Titus Brown | last post: by
1 post views Thread by Travis Pupkin | last post: by
4 posts views Thread by Jan Bols | last post: by
2 posts views Thread by Kalpesh | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.