XML::DB::File - XML:DB driver for a simple file system


NAME

XML::DB::File - XML:DB driver for a simple file system


SYNOPSIS

my $driver = 'File'; my $url = '/usr/local/somewhere';

eval{ $dbm = new XML::SimpleDB::DatabaseManager(); $dbm->registerDatabase($driver); $col = $dbm->getCollection(``xmldb:$driver:$url/db/test''); };

if ($@){ die $@; }


DESCRIPTION

This is the driver for a simple XML File system. It is intended to be used through the XML:DB API, so that it is never called directly from user code. It implements the internal API defined in XML::DB::Database.

This is not a database; it is simply a driver for flat files, with no indexing; it was created as a convenience for testing and for transferring files between a file system and a real database.


BUGS


AUTHOR

        Graham Seaman
        CPAN ID: GSEAMAN
        graham@opencollector.org


COPYRIGHT

Copyright (c) 2002 Graham Seaman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.


SEE ALSO

perl(1).

new

Usage : $driver = new XML::DB::Database('File');

Purpose : Constructor

Argument : $self, passed from Database.pm

Returns : File driver, an extension of XML::DB::Database

 XML::DB::File - XML:DB driver for a simple file system