Package perl-XML-Twig

Perl module for processing huge XML documents in tree mode

https://metacpan.org/release/XML-Twig

This module provides a way to process XML documents. It is build on
top of XML::Parser. XML::Twig offers a tree interface to the
document, while allowing you to output the parts of it that have been
completely processed. It allows minimal resource (CPU and memory)
usage by building the tree only for the parts of the documents that
need actual processing, through the use of the twig_roots and
twig_print_outside_roots options.

Version: 3.52

General Commands

xml_grep grep XML files looking for specific elements
xml_merge merge back XML files split with C<xml_split>
xml_pp xml pretty-printer
xml_spellcheck spellcheck XML files
xml_split cut a big XML file into smaller chunks