NAME

XML::Atom::Workspace - Workspace object

SYNOPSIS

my $categories = XML::Atom::Categories->new;
$categories->href('http://example.com/cats/forMain.cats');
$categories->add_category($category);

my $collection = XML::Atom::Collection->new;
$collection->href('http://example.org/reilly/main');
$collection->title('My Blog Entries');
$collection->categories($categories);

my $workspace = XML::Atom::Workspace->new;
$workspace->title('Main Site');
$workspace->add_collection($collection);

## Get lists of the collection and categories elements.
my @collection = $workspace->collection;
my @categories = $collection[0]->categories;

USAGE

XML::Atom::Workspace->new

$workspace->title

$workspace->collection

$workspace->add_collection

$workspace->element_name

$workspace->element_ns

SEE ALSO

XML::Atom

XML::Atom::Service

AUTHOR

Takeru INOUE, <takeru.inoue@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Takeru INOUE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.