<community>of XML and SVG Developers</community>
This is a discussion on <svg:svg> versus <svg> within the SVG Questions forums, part of the SVG Forums category; Hi, Can anyone explain to me what the diferences are between the notations: <svg:svg> <svg:rect> ....... </svg:rect> </svg:svg> and what ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Can anyone explain to me what the diferences are between the notations: <svg:svg> <svg:rect> ....... </svg:rect> </svg:svg> and what i think is normal: <svg> <rect> ....... </rect> </svg> I found the first one on some php site .. Thanks Johan |
| |||
|
You use <svg:svg> <svg:rect> ....... </svg:rect> </svg:svg> in no svg file, in HTML file by example after you define svg namespace. In a svg file, default namespace is svg and you write only <svg> <rect> ....... </rect> </svg> Michel |
| |||
|
I have the same problem, but I can't use a svg file because the content is result of a processing in php, like the next example. What can I do in order this script works? <html xmlns:svg= "http://www.w3.org/2000/svg"> <object id="AdobeSVG" CLASSID= "clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object> <? echo '<?import namespace="svg" implementation="#AdobeSVG"?>'; ... (html tags) <svg:svg width="400px" height="400px" viewBox="-75 -35 45 40" xmlns:svg="http://www.w3.org/2000/svg""> <svg:script type="text/ecmascript"><![CDATA[ function MouseOver(evt) { evt.target.setAttribute("fill","none"); } function MouseOut(evt) { evt.target.setAttribute("fill","blue"); } ]]></svg:script> <? ... (php processing obtain $varPath) echo '<svg ath id="test" name="test" onmouseover="MouseOver(test');" onmouseout="MouseOut(test');" fill="blue" d=" ' . $varPath . ' " />?> </svg:svg> thanks, Bruno. |
![]() |
| Tags |
| <svg>, <svgsvg>, versus |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Printer Cartridges
Low Price printer cartridges. Free UK delivery on compatible printer cartridges. Over 50,000 printer cartridges in stock.
printer cartridge
Need a printer cartridge? Let us help! Ring our freephone and order before 4pm to take advantage of our same day dispatch.
Hard disk drive data recovery north west
For the best hard disk drive data recovery in North West, put us to the test. At Data Clinic we have the expertise.