SVG image tag not working

Paolo

New Member
I'm playing around with the SVG tutorial here, and can't load an image. XAMPP is giving me an error that says \[quote\] This XML file does not appear to have any style information associated with it. The document tree is shown below.\[/quote\]I've copypasta'd from the docs, but it still doesn't work. Code below:\[code\]<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="5cm" height="4cm" version="1.1" xmlns="localhost" xmlns:xlink= "localhost/svgtest"> <image xlink:href="http://stackoverflow.com/questions/11104324/My_Image.jpg" x="0" y="0" height="50px" width="50px"/></svg>\[/code\]Googling the error message tells me that the XML is broken somehow, but I haven't changed anything but the locale and image title.
 
Back
Top