SVG:Namespace: Difference between revisions

446 bytes removed ,  3 December 2005
no edit summary
No edit summary
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= declare namespaces for svg and xlink=
#REDIRECT [http://developer.mozilla.org/en/docs/SVG:Namespaces_Crash_Course Namespaces Crash Course]
 
the namespace declaration for svg is required if you don't specify it, nothing will be rendered. the xlink namespace is required if you use <use/>, <image/>, <a/> ...
 
*the svg namespace: http://www.w3.org/2000/svg
*the xlink namespace: http://www.w3.org/1999/xlink
 
a simple SVG file may look like this:
 
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>title of drawing</title>
  <!-- your drawing here -->
</svg>
Confirmed users, Bureaucrats and Sysops emeriti
969

edits