BSD Ports

textproc/p5-XML-LibXML-PrettyPrint 0.006_1 DragonFly

Add pleasant whitespace to a DOM tree

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
19.7 KiB, 62.1 KiB installed

Description

Long XML files can be daunting for humans to read. Of course, XML is really designed for computers to read - not people - but there are times when mere mortals do need to read and edit XML by hand. For example, if your application stores its configuration in XML, or you need to dump some XML to STDOUT for debugging purposes.

Syntax highlighting helps, but to really make sense of some XML, proper indentation can be vital. Hence XML::LibXML::PrettyPrint - it can be applied to an XML::LibXML DOM tree to reformat it into a more readable result.

Pretty-printing XML is not as CPU-efficient as dumping it out sloppily, so unless you're pretty sure that a human is going to need to make sense of your XML, you should probably not use this module.

In the other systems

The newest version among them is 0.006, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/p5-XML-LibXML-PrettyPrint0.006_1 newestnone known-[email protected]-
FreeBSDtextproc/p5-XML-LibXML-PrettyPrint0.006_1 newestnone known-[email protected]-
HardenedBSDtextproc/p5-XML-LibXML-PrettyPrint0.006_1 newestno data-[email protected]-
GhostBSDtextproc/p5-XML-LibXML-PrettyPrint0.006_1 newestno data-[email protected]-

Install

Binary package:

pkg install p5-XML-LibXML-PrettyPrint

From DPorts:

cd /usr/dports/textproc/p5-XML-LibXML-PrettyPrint && make install clean

Dependencies

Run dependencies 3

No port depends on this one.