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 08:37:31 GMT Daylight Time, AndrewWatt2000@aol.com writes:

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"?>

  PUBLIC "-//W3C//DTD SVG 1.0//EN"
<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" />



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

P.S. The "2002" in the system identifier of the DOCTYPE declaration should be 2001.

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