| Tree-Persist documentation | view source | Contained in the Tree-Persist distribution. |
Tree::Persist::File::XML - a handler for Tree persistence
Please see Tree::Persist for how to use this module.
This module is a plugin for Tree::Persist to store a Tree to an XML file.
This class requires no additional parameters than are specified by its parent, Tree::Persist::File.
The XML used is very simple. Each element is called "node". The node contains
two attributes - "class", which represents the Tree class to build this
node for, and "value", which is the serialized value contained in the node (as
retrieved by the value() method.) Parent-child relationships are represented
by the parent containing the child.
NOTE: This plugin will currently only handle values that are strings or have a stringification method.
Please see the relevant section of Tree::Persist.
Please see the relevant section of Tree::Persist.
Rob Kinyon <rob.kinyon@iinteractive.com>
Stevan Little <stevan.little@iinteractive.com>
Thanks to Infinity Interactive for generously donating our time.
Copyright 2004, 2005 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Tree-Persist documentation | view source | Contained in the Tree-Persist distribution. |