1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Source: libxml-filter-reindent-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Ansgar Burchardt <ansgar@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 11)
Build-Depends-Indep: perl,
libxml-filter-detectws-perl
Standards-Version: 4.1.5
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-filter-reindent-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-filter-reindent-perl.git
Homepage: https://metacpan.org/release/XML-Filter-Reindent
Package: libxml-filter-reindent-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
libxml-filter-detectws-perl
Suggests: libxml-handler-composer-perl
Description: Perl module for reformatting whitespace for pretty printing XML
XML::Filter::Reindent can be used as a PerlSAX filter to reformat an XML
document before sending it to a PerlSAX handler that prints it (like
XML::Handler::Composer).
.
Like XML::Filter::DetectWS, it detects ignorable whitespace and
blocks of whitespace characters in certain places. It uses this
information and information supplied by the user to determine where
whitespace may be modified, deleted or inserted. Based on the indent
settings, it then modifies, inserts and deletes characters and
ignorable_whitespace events accordingly.
.
This is just a first stab at the implementation. It may be buggy and
may change completely!
.
The suggested package is only needed for the example 'pretty.pl'
|