Simon,
thanks for the tip you gave earlier. It works fine in Netscape but is a broken image in IE. What am I doing wrong?

My xsp looks like this:

byte[] photoa = artist.getArtistPhoto1();


<!-- base64 encode byte array -->
String newPhoto = Base64.encodeBytes(photoa);

<!-- remove spaces from string -->
String newPhoto1 = spaceRemover.trim(newPhoto);
</xsp:logic>


<page>
........
<svg width="200" height="200">
<xsp:element name="image">
<xsp:attribute name="width"></xsp:attribute>
<xsp:attribute name="height"></xsp:attribute>
<xsp:attribute name="src">data:image/jpeg;base64,</xsp:expr></xsp:attribute>
</xsp:element>
</svg>
</page>

My sitemap looks like this:

<map:match pattern="frame/*.jpg">
<map:generate type="serverpages" src="xsp/artist-details.xsp" />
<map:serialize type="svg2jpeg"/>
</map:match>

many thanks in advance


On 16 Feb 2004, at 09:36, Simon Mieth wrote:

<svg width="...." height="......">

Reply via email to