HTML::DOM::Element::Quote - A Perl class for representing quote elements in an HTML DOM tree


NAME

HTML::DOM::Element::Quote - A Perl class for representing quote elements in an HTML DOM tree


SYNOPSIS

  use HTML::DOM;
  $doc = HTML::DOM->new;
  $elem = $doc->createElement('q');
  $elem->cite(1); # set attribute
  $elem->cite;    # get attribute
  $elem->tagName;
  # etc


DESCRIPTION

This class implements 'q' and 'blockquote' elements in an HTML::DOM tree. It implements the HTMLQuoteElement DOM interface and inherits from the HTML::DOM::Element manpage (q.v.).


METHODS

The only method that this class implements itself, and does not inherit, is cite, which returns the corresponding HTML attribute. If you pass an argument, it will become the new value of the attribute, and the old value will be returned.


SEE ALSO

the HTML::DOM manpage

the HTML::DOM::Element manpage