SVG 1.2 - 27 October 2004
exception DOMException
{
unsigned short code;
};
// ExceptionCode
const unsigned short WRONG_DOCUMENT_ERR = 4;
const unsigned short INDEX_SIZE_ERR = 1;
const unsigned short HIERARCHY_REQUEST_ERR = 3;
const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7;
const unsigned short NOT_FOUND_ERR = 8;
const unsigned short NOT_SUPPORTED_ERR = 9;
const unsigned short INVALID_STATE_ERR = 11;
const unsigned short INVALID_MODIFICATION_ERR = 13;
const unsigned short INVALID_ACCESS_ERR = 15;
const unsigned short TYPE_MISMATCH_ERR = 17;
This interface is a subset of the Node interface defined in the DOM Level 3 Core.
interface Node
{
readonly attribute DOMString namespaceURI;
readonly attribute DOMString localName;
readonly attribute Node parentNode;
Node appendChild(in Node newChild) raises(DOMException);
Node insertBefore(in Node newChild, in Node refChild) raises(DOMException);
Node removeChild(in Node oldChild) raises(DOMException);
};
null is returned.
Node of this Node.
Node.
Node to be appended to this
Node. This is equivalent to insertBefore(newChild,null)
Node that is to be removed.
interface SVGDocument : Document
{
readonly attribute SVGGlobal global;
};