BSD Ports

textproc/p5-XML-Writer 0.900 OpenBSD

perl extension for writing XML documents

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, perl5

Description

XML::Writer is a helper module for Perl programs that write an XML document. The module handles all escaping for attribute values and character data and constructs different types of markup, such as tags, comments, and processing instructions.

By default, the module performs several well-formedness checks to catch errors during output. This behaviour can be extremely useful during development and debugging, but it can be turned off for production-grade code.

The module can operate either in regular mode in or Namespace processing mode. In Namespace mode, the module will generate Namespace Declarations itself, and will perform additional checks on the output.

Additional support is available for a simplified data mode with no mixed content: newlines are automatically inserted around elements and elements can optionally be indented based as their nesting level.

In the other systems

SystemPortVersion
OpenBSDtextproc/p5-XML-Writer0.900
FreeBSDtextproc/p5-XML-Writer0.900
NetBSDtextproc/p5-XML-Writer0.900nb6
DragonFlytextproc/p5-XML-Writer0.900
MidnightBSDtextproc/p5-XML-Writer0.900
HardenedBSDtextproc/p5-XML-Writer0.900
GhostBSDtextproc/p5-XML-Writer0.900

Install

Binary package:

pkg_add p5-XML-Writer

From the ports tree:

cd /usr/ports/textproc/p5-XML-Writer && make install

Dependencies