Name : perl-XML-TreeBuilder
| |
Version : 5.400.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.4
| Date : 2015-04-17 19:54:39
|
Group : Unspecified
| Source RPM : perl-XML-TreeBuilder-5.400.0-1.4.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : XML elements with the same interface as HTML::Element
|
Description :
This module uses XML::Parser to make XML document trees constructed of XML::Element objects (and XML::Element is a subclass of HTML::Element adapted for XML). XML::TreeBuilder is meant particularly for people who are used to the HTML::TreeBuilder / HTML::Element interface to document trees, and who don\'t want to learn some other document interface like XML::Twig or XML::DOM.
The way to use this class is to:
1. start a new (empty) XML::TreeBuilder object.
2. set any of the \"store\" options you want.
3. then parse the document from a source by calling \'$x->parsefile(...)\' or \'$x->parse(...)\' (See XML::Parser docs for the options that these two methods take)
4. do whatever you need to do with the syntax tree, presumably involving traversing it looking for some bit of information in it,
5. and finally, when you\'re done with the tree, call $tree->delete to erase the contents of the tree from memory. This kind of thing usually isn\'t necessary with most Perl objects, but it\'s necessary for TreeBuilder objects. See HTML::Element for a more verbose explanation of why this is the case.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Tumbleweed/noarch |