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