csv2(1)

csv21

Convert xml documents in a flat format 2xml - convert flat format into xml html2 - convert html documents in a flat format 2html - convert flat format into html csv2 - convert csv files in a flat format 2csv - convert flat format into csv

Part of xml2(1).

Usage

<xml2|2xml|html2|2html|csv2|2csv> > outfile < infile

Overview

There are six tools. Except csv2 and and 2csv they don't take any command-line arguments. They are all simple filters which can be used to read files from standard input in one format and output it to standard output in another format.

The flat format used by the tools is specific to these tools. It is a syntax for representing structured markup in a way that makes it easy to process with line-oriented tools. The same format is used for HTML and XML; in fact, you can think of html2 as converting HTML to XHTML and running xml2 on the result; likewise 2html and 2xml. (Of course, this isn't how the implementation works.)

Releases

9 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0–13

Author

xml2 was written by Dan Egnor.

This manpage was written by Patrick Schoenfeld <[email protected]> for the Debian project, but may be used by others under the same terms as xml2 is distributed.

Bugs

Bugs can be reported through the Debian Bug tracking system.

From xml2 0.5-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.