XML::Spew::XHTML - XML::Spew subclass for all the XHMTL tags.


XML-Spew documentation Contained in the XML-Spew distribution.

Index


Code Index:

NAME

Top

XML::Spew::XHTML - XML::Spew subclass for all the XHMTL tags.

SYNOPSIS

Top

    my $spew = XML::Spew::XHTML->_new;
    print $s->html( $s->head( $s->title("this is a title") ), 
                    $s->body( $s->div( { class => "foo" }, "this is some content." ) ) );

DESCRIPTION

Top

This is a subclass of XML::Spew which impliments the full set of tags for XHTML 1.0. See the documentation for XML::Spew to use this module.

AUTHOR

Top

Mike Friedman, <friedo@friedo.com>

BUGS

Top

Please report any bugs or feature requests to bug-xml-spew@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-Spew. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Top


XML-Spew documentation Contained in the XML-Spew distribution.

package XML::Spew::XHTML;

use strict;
use warnings;

use base 'XML::Spew';

our $VERSION = '0.01';

__PACKAGE__->_tags( 
                    qw(html
                       head
                       title
                       base
                       meta
                       link
                       style
                       script
                       noscript
                       body
                       div
                       p
                       h1
                       h2
                       h3
                       h4
                       h5
                       h6
                       ul
                       ol
                       li
                       dl
                       dt
                       dd
                       address
                       hr
                       pre
                       blockquote
                       ins
                       del
                       a
                       span
                       bdo
                       br
                       em
                       strong
                       dfn
                       code
                       samp
                       kbd
                       var
                       cite
                       abbr
                       acronym
                       q
                       sub
                       sup
                       tt
                       i
                       b
                       big
                       small
                       object
                       param
                       img
                       map
                       area
                       form
                       label
                       input
                       select
                       optgroup
                       option
                       textarea
                       fieldset
                       legend
                       button
                       table
                       caption
                       thead
                       tfoot
                       tbody
                       colgroup
                       col
                       tr
                       th
                       td )
                    );
                    

1;

__END__