data

$canvaseditor data
returns internal document according to package XML.

obj method canvaseditor data {} {
  set elements [xmlElement elements {} {*}[$self elements data]]
  set stack [xmlElement stack {} {*}[lmap obj [$self stackSequence] {
        set data [$obj data]
        list type element name item\
          attribute [list ref [dict get $data attribute id]]\
          content {}
      }]]
  xmlElement [$self info class]\
    [my settings]\
    $elements $stack
}

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z