Re: [xml-dev] including JPEG in SVG

From
<>
To
,
Date
2003-04-09T07:36:01Z
ID
<>
Thread
Re: [xml-dev] including JPEG in SVG
In a message dated 09/04/2003 01:54:20 GMT Daylight Time, [email protected] writes:


<?xml version="1.0" encoding="utf-8"?>


<!DOCTYPE svg
  PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2002/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns:xlink="http:///www.w3.org/1999/xlink" width="127" height="117"
viewBox="0 0 637 589">

   <image width="50" height="50" xlink:href="./test.JPG" />


</svg>


Jeff,

You haven't told the SVG renderer where to render the image.

Try adding x and y attributes to the <image> element with appropriate values.

Also, in your namespace declaration for the XLink namespace you have three successive forward slash characters, rather than two.

Andrew Watt