Bug#1145687: ITP: libxml-tidy-tiny-perl -- reindent XML without parsing it
Edmund Lodewijks <[email protected]>
| Newsgroups | gmane.linux.debian.devel.general |
|---|---|
| Message-ID | <4cb6774e97cf3546a0aa0564edb23295__43969.4092421391$1787763098$gmane$org@proteamail.com> |
Package: wnpp Owner: Edmund Lodewijks <[email protected]> Severity: wishlist X-Debbugs-CC: [email protected], [email protected] * Package name : libxml-tidy-tiny-perl Version : 0.02 Upstream Author : A. G. Grishayev <[email protected]> * URL : https://metacpan.org/release/XML-Tidy-Tiny * License : Artistic or GPL-1+ Programming Lang: Perl Description : reindent XML without parsing it XML::Tidy::Tiny re-indents an XML document by splitting it on tag boundaries and tracking nesting depth, indenting each level by two spaces. Elements whose content is plain text stay on one line; any XML declaration is kept on a line of its own, and whitespace-only text between tags is discarded. It exports a single function, xml_tidy. There is no parser and no validation, so it has no dependencies beyond core Perl and it will reformat input that is not well-formed. Use XML::Tidy if you need a tidier that understands the document. The package will be maintained under the umbrella of the Debian Perl Group. -- Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.