Timothy Appnel > XML-RSS-Parser > XML::RSS::Parser::Characters

Download:
XML-RSS-Parser-4.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  6
View/Report Bugs
Source  

NAME ^

XML::RSS::Parser::Characters - an object representing a character data in an RSS parse tree.

METHODS ^

XML::RSS::Parser::Character->new( [\%init] )

Constructor. Optionally the data and parent can be set with a HASH reference using keys of the same name. See their associated functions below for more.

$chars->parent([$object])

Returns a reference to the parent object. If a parameter is passed the parent is set.

$chars->data([$string])

A method that returns the character data as a string. If a parameter is passed the value is set.

$chars->root

Returns a reference to the root element of class XML::RSS::Parser::Feed from the parse tree.

$chars->as_xml

Pass-thru to the encode_xml in XML::RSS::Parser::Util using the data method return as input.

AUTHOR & COPYRIGHT ^

Please see the XML::RSS::Parser manpage for author, copyright, and license information.

syntax highlighting: