OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] including JPEG in SVG

[ Lists Home | Date Index | Thread Index ]

In a message dated 09/04/2003 01:54:20 GMT Daylight Time, Jeff.Lowery@creo.com 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS