The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SVG::DOM - Perform DOM manipulations of the SVG object

SUMMARY

An API for accessing the SVG DOM.

AUTHOR

Ronan Oger, ronan@roasp.com

SEE ALSO

perl(1),SVG,SVG::XML,SVG::Element,SVG::Parser, SVG::Manual http://roasp.com/ http://www.w3c.org/Graphics/SVG/

Methods

getFirstChild ($ref)

return the reference of the first defined child of the current node

getLastChild ($ref)

return the reference of the last defined child of the current node

getChildren ($ref)

return the reference of the children of the current node

getParent ($ref)

return the reference of the parent of the current node

getSiblings ($ref)

return the reference to an array composed of references of the siblings of the current node

getElementbyID

getElement ($ref)

return a string containing the element type of a reference to an node

$ref = getAttributes ($ref)

return a reference to a hash whose keys are the attribute name and the values are the attribute values.

$ref = getCDATA ($ref)