SVG:Namespace: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 3: | Line 3: | ||
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 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 svg namespace: http://www.w3.org/2000/svg | ||
the xlink namespace: http://www.w3.org/1999/xlink | *the xlink namespace: http://www.w3.org/1999/xlink | ||
a simple SVG file may look like this: | a simple SVG file may look like this: | ||
Revision as of 10:45, 28 April 2005
declare namespaces for svg and xlink
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> </svg>