NAME

Pod::ToDocBook::FormatList - Plugin for generating item lists

SYNOPSIS

use Pod::ToDocBook::Pod2xml;
use Pod::ToDocBook::FormatList;
use Pod::ToDocBook::ProcessItems;
use XML::ExtOn ('create_pipe');
my $buf;
my $w = new XML::SAX::Writer:: Output => \$buf;
my $px = new Pod::ToDocBook::Pod2xml:: header => 0, doctype => 'chapter';
my $p =
  create_pipe( $px, qw( Pod::ToDocBook::FormatList Pod::ToDocBook::ProcessItems),
    $w );
$p->parse($text);

DESCRIPTION

Pod::ToDocBook::TableDefault - Plugin for generating item lists

XML FORMAT

For POD:

=begin list 

- item 1
- item 2
- item 3

=end list

Result:

<itemizedlist>
  <listitem>
    <para>item 1</para>
  </listitem>
  <listitem>
    <para>item 2</para>
  </listitem>
  <listitem>
    <para>item 3</para>
  </listitem>
</itemizedlist>

For POD:

=begin list 

- item 1
- item 2
- item 3

=end list

Result:

<itemizedlist>
  <listitem>
    <para>item 1</para>
  </listitem>
  <listitem>
    <para>item 2</para>
  </listitem>
  <listitem>
    <para>item 3</para>
  </listitem>
</itemizedlist>

process_format $cdata name=>table param=><string>

Must retrun array ref to elements

SEE ALSO

XML::ExtOn, Pod::2::DocBook

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009 by Zahatski Aliaksandr

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.