(require 'dom)
(defun svg-create (width height &rest args)
- "Create a new, empty SVG image with dimentions WIDTHxHEIGHT.
+ "Create a new, empty SVG image with dimensions WIDTHxHEIGHT.
ARGS can be used to provide `stroke' and `stroke-width' parameters to
any further elements added."
(dom-node 'svg
`((width . ,width)
(height . ,height)
(version . "1.1")
- (xmlsn . "http://www.w3.org/2000/svg")
+ (xmlns . "http://www.w3.org/2000/svg")
,@(svg--arguments nil args))))
(defun svg-gradient (svg id type stops)