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 ]

Okay, this is weird.  Change the file parameters to:
<?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>


Now I see this at the very bottom?

??????????????

> -----Original Message-----
> From: Jeff Lowery [mailto:Jeff.Lowery@creo.com]
> Sent: Tuesday, April 08, 2003 4:18 PM
> To: 'xml-dev'
> Subject: [xml-dev] including JPEG in SVG
> 
> 
> Given the following brain-dead simple SVG:
> 
> <?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="1275.75pt" height="1179.218269pt" 
>     viewBox="0 0 6378.75 5896.091345">
> 
>    <image width="250" height="250" xlink:href="test.jpg" />
> 
> </svg>
> 
> 
> Why am I not seeing the JPEG image?  Both the svg file and 
> jpg file are in
> the same directory. It's gotta be some fundamental 
> cluelessness on my part.
> I can see the jpg file directly in the browser, and I have 
> the Adobe SVG 3.0
> plug-in.  
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 




 

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

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