Simon,
I am doing something wrong here. explain to me exactly what attributes should be made available in the image tag? I think it would be better if you just show me the code you are using to generate the image tag. Do you mean

<xsp:attribute name="xlink">http://www.w3.org/1999/xlink
<xsp:attribute name="href">
data:image/jpeg;base64
or
<xsp:attribute name="xmlns:xlink">
http://www.w3.org/1999/xlink
<xsp:attribute name="xlink:href">
data:image/jpeg;base64

I have changed the src attribute to href as you stated in your email, and now nothing works. href is not a supported attribute of the img tag!!??
Can you show me the code you are using to generate the image in your xsp page. I do the following:

<xsp:attribute name="xmlns:xlink">http://www.w3.org/</xsp:attribute>
<xsp:attribute name="xlink:href">data:image/jpeg;base64,</xsp:expr></xsp:attribute>
<xsp:attribute name="width"></xsp:attribute>
<xsp:attribute name="height"></xsp:attribute>

but I am now getting an xml error on xlink


many thanks in advance

On 17 Feb 2004, at 09:38, Simon Mieth wrote:

On Mon, 16 Feb 2004 22:54:09 +0000
beyaNet Consultancy <[EMAIL PROTECTED]> wrote:

Simon,
could you just confirm to me that i am using the correct
syntax

sitemap:
<map:serializers default="html">
<map:serializer name="svg2jpeg"
src="org.apache.cocoon.serialization.SVGSerializer"
mime-type="image/jpeg"
logger="sitemap.serializer.svg2jpeg"/>
</map:serializers>





Hi,

it looks ok. You can try to use the svg2png serializer
(you must only change the type="" in the serializer
section). Try our svg with an static image from filesystem
(href:xlink="file:///my/image/here/test.jpg").

Argh, i see now you use the src-attribute in image-element,
use <image
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="data:
image/jpeg;base64,.." width.... />.

Regards,

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to