Tree interface to XML documents

Edit Package perl-XML-Twig

XML::Twig is (yet another!) XML transformation module.

Its strong points: can be used to process huge documents while still
being in tree mode; not bound by DOM or SAX, so it is very perlish and
offers a very comprehensive set of methods; simple to use; DWIMs as
much as possible

What it doesn't offer: full SAX support (it can export SAX, but only
reads XML), full XPath support (unless you use XML::Twig::XPath), nor
DOM support.

Other drawbacks: it is a big module, and with over 500 methods
available it can be a bit overwhelming. A good starting point is the
tutorial at http://xmltwig.com/xmltwig/tutorial/index.html. In fact the
whole XML::Twig page at http://xmltwig.com/xmltwig/ has plenty of
information to get you started with XML::Twig

Refresh
Refresh
Source Files
Filename Size Changed
XML-Twig-3.48.tar.gz 0000401255 392 KB
perl-XML-Twig.changes 0000005802 5.67 KB
perl-XML-Twig.spec 0000003227 3.15 KB
Revision 31 (latest revision is 35)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 249352 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 31)
- updated to 3.48
 - fixed: missing entities when parsing HTML
   RT #93604 https://rt.cpan.org/Public/Bug/Display.html?id=93604
 
 - fixed: tests failed when using a version of HTML::TreeBuilder with a non-numeric version
 
 - fixed in twig_handlers, '=' in regexps on attributes are turned into 'eq'
   RT #94295 https://rt.cpan.org/Public/Bug/Display.html?id=94295
 
 - fixed: test failed on Windows
Comments 0
openSUSE Build Service is sponsored by