SF Portal
Mailing List
Download1

Laird Breyer
Download2
contents introduction man contrib related
previous next
XML-LESS

XML-LESS

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLE
BUGS
AUTHORS
SEE ALSO

NAME

xml-less − interactively display an XML file on a terminal.

SYNOPSIS

xml-less

[OPTION]... [FILE]

DESCRIPTION

xml-less is a pager similar to less(1), but designed to display XML files exclusively. The input file is parsed on-the-fly, and can be displayed with colour coding, and folded/reformatted on demand. If no input file is given, the standard input is read.

Folding can be used to quickly understand the general form of a document, by altering the indentation pattern of the currently displayed page. Other useful operations include word wrapping long lines, and showing/hiding attributes.

xml-less does not have to read the entire FILE before rendering begins, so it should be efficient for large input files provided that the chosen folding method allows it.

The key combinations recognized by xml-less are modeled on those of less(1), with some extensions: folding is controlled by tab key, and attributes, colours and wordwrap are chosen with the a, c and w keys respectively. The help page is accessed using the H key.

OPTIONS

EXIT STATUS

xml-less returns 0 on success, or 1 otherwise.

EXAMPLE

xml-cat bigfile.xml | xml-grep ’abc’ | xml-less

BUGS

Searching does not work yet.

AUTHORS

Laird A. Breyer is the original author of this software. The source code (GPLv3 or later) for the latest version is available at the following locations:
http://www.lbreyer.com/gpl.html
http://xml-coreutils.sourceforge.net

SEE ALSO

xml-coreutils(7)


previous next
contents introduction man contrib related