Chapter 8. SVG DOM-Tree Access

Table of Contents

Introduction
addTextElement
getRoot
dump.style
addWindow
dump
getNodeByID
addStyle
addToDefs
make
dump.vanilla
addElement

Generate a DOM-tree. These DOM is dedicated to SVG.

The dominant question is, whether to preserve the entire window hierarchy or if it is better to abandon anything not relevant for the svg document. When windows are abandoned it will not be possible to use the Tk hierarchy for traversing the DOM tree.