[swankguy] I need a way to save the state of the Swank Canvas. Because I am also rendering information on the canvas that is not just simple canvas items I wanted a way to save the current content that was not just a text file of Tcl commands, or a Tcl array, but that would allow additional information and storage of multiple canvases. I'm working on code that will export/import the canvas as an [XML] file. The format is influenced by that for [SVG], but uses a style consistent with the Tk/Swank canvas. This is definitely a work in progress that if continued will ultimately end up with a [DTD] or a schema (see [A little XML Schema validator]. There is a lot of relevant discussion about ways of saving Tcl related information at [Techniques for reading and writing application configuration files] including a discussion of using XML files. Here is example output from a script that saves a canvas. ====== Hello ====== <>Enter Category Here