NAME
Tree::Persist::File::XML - a handler for Tree persistence
SYNOPSIS
Please see Tree::Persist for how to use this module.
DESCRIPTION
This module is a plugin for Tree::Persist to store a Tree to an XML file.
PARAMETERS
This class requires no additional parameters than are specified by its parent, Tree::Persist::File.
XML SPEC
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.
TODO
Currently, the value is not XML-encoded.
BUGS/TODO/CODE COVERAGE
Please see the relevant sections of Forest.
AUTHORS
Rob Kinyon <rob.kinyon@iinteractive.com>
Stevan Little <stevan.little@iinteractive.com>
Thanks to Infinity Interactive for generously donating our time.
COPYRIGHT AND LICENSE
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.