NAME

Convert::Wiki::Node - Represents a node (headline, paragraph etc) in a text

SYNOPSIS

use Convert::Wiki::Node;

my $head = Convert::Wiki::Node->new( txt => 'About Foo', type => 'head1' );
my $text = Convert::Wiki::Node->new( txt => 'Foo is a foobar.', type => 'paragraph' );

print $head->as_wiki(), $text->as_wiki();

DESCRIPTION

A Convert::Wiki::Node represents a node (headline, paragraph etc) in a text. All the nodes together represent the entire document.

EXPORT

None by default.

SEE ALSO

AUTHOR

Tels http://bloodgate.com

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Tels

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.