XML Elves

XML Elves

<community>of XML and SVG Developers</community>


<svg:svg> versus <svg>

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 ...


Go Back   XML Elves > SVG Forums > SVG Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices


Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2005, 12:19 PM
Johan
Guest
 
Posts: n/a
Default <svg:svg> versus <svg>

Hi,
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-12-2005, 04:28 PM
Anonymous
Guest
 
Posts: n/a
Default <svg:svg> versus <svg>

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-13-2005, 01:37 AM
Anonymous
Guest
 
Posts: n/a
Default <svg:svg> versus <svg>

I see,
thats why animations won't work in my html area @!@!@#!@#!@

I must try to find another way to implement some svg somewehere in my html pages.
I wil try something else....

Johan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-13-2005, 02:14 AM
Anonymous
Guest
 
Posts: n/a
Default <svg:svg> versus <svg>

Use <embed> tag to insert svg files in your html.

Michel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-08-2005, 08:15 AM
Bruno
Guest
 
Posts: n/a
Default <svg:svg> versus <svg>

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 '<svgath id="test" name="test" onmouseover="MouseOver(test');" onmouseout="MouseOut(test');" fill="blue" d=" ' . $varPath . ' " />

?>

</svg:svg>

thanks,
Bruno.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
<svg>, <svgsvg>, versus


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 12:46 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

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.

ink cartridges Free UK Delivery on ink cartridges such as Canon, Dell, Epson, hp & Lexmark.

1 2 3 4 5 6 7 8 9 10