XML::RSS::Parser::Element

A node in the XML::RSS::Parser parse tree.
Download

XML::RSS::Parser::Element Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Timothy Appnel
  • Publisher web site:
  • http://search.cpan.org/~tima/Text-Tiki-0.73/Tiki.pm

XML::RSS::Parser::Element Tags


XML::RSS::Parser::Element Description

A node in the XML::RSS::Parser parse tree. XML::RSS::Parser::Element is a node in the XML::RSS::Parser parse tree.METHODSXML::RSS::Parser::Element->new( )Constructor for XML::RSS::Parser::Element. Optionally the name, value, attributes, root, and parent can be set with a HASH reference using keys of the same name. See their associated functions below for more.$element->rootReturns a reference to the root element of class XML::RSS::Parser::Feed from the parse tree.$element->parent( )Returns a reference to the parent element. A XML::RSS::Parser::Element object or one of its subclasses can be passed to optionally set the parent.$element->name( )Returns the name of the element as a SCALAR. This should by the fully namespace qualified (extended) name of the element and not the QName or local part.$element->attributes( )Returns a HASH reference contain attributes and their values as key value pairs. An optional parameter of a HASH reference can be passed in to set multiple attributes. Returns undef if no attributes exist. NOTE: When setting attributes with this method, all existing attributes are overwritten irregardless of whether they are present in the hash being passed in.$element->contents()Returns an ordered ARRAY reference of direct sibling objects. Returns a reference to an empty array if the element does not have any siblings. If a parameter is passed all the direct siblings are (re)set.$element->text_contentA method that returns the character data of all siblings.$element->as_xmlPass-thru to the as_xml in XML::RSS::Parser::Util using the object as the node parameter. Requirements: · Perl


XML::RSS::Parser::Element Related Software