.TH Canonicalise "1" "October 2007" "Canonicalise, version 1.17" "User Commands" .SH NAME Canonicalise, CanonicaliseLazy \- \(oqcat\(cq filters for XML documents .SH SYNOPSIS .B Canonicalise [ .I file ] .br .B CanonicaliseLazy [ .I file ] .SH DESCRIPTION \fBCanonicalise\fP reads a XML document from a file or from the standard input and parses and pretty-prints the document using the HaXml library. \fBCanonicaliseLazy\fP also reads, parses and pretty-prints the XML document, but parses the document with the lazy parser combinators while \fBCanonicalise\fP uses the non-lazy parser combinators. This causes \fBCanonicaliseLazy\fP to parse to XML document faster and use less memory then \fBCanonicalise\fP. \fBCanonicalise\fP and \fBCanonicaliseLazy\fP show the standard parsing and pretty-printing behaviour of the HaXml library. .SH COPYRIGHT .TP The HaXml library and tools were written by and are copyright to Copyright \(co 1998 \(en 2006 Malcolm Wallace and Colin Runciman .TP The library incorporates the module Text.ParserCombinators.HuttonMeijerWallace Copyright \(co 1996 Graham Hutton and Erik Meijer .TP with modifications Copyright \(co 1998 \(en 2000 Malcolm Wallace .TP and may also use or incorporate the module Text.PrettyPrint.HughesPJ Copyright \(co 1996 \(en 1997 John Hughes and Simon Peyton Jones .PP The HaXml library is licensed under the terms of the GNU Lesser General Public Licence (LGPL), with the following special exception: .RS .PP As a relaxation of clause 6 of the LGPL, the copyright holders of this library give permission to use, copy, link, modify, and distribute, binary-only object-code versions of an executable linked with the Library, without requiring the supply of any mechanism to modify or replace the Library and relink (clauses 6a, 6b, 6c, 6d, 6e), provided that all the other terms of clause 6 are complied with. .RE .PP The HaXml tools Xtract, Validate, DtdToHaskell, and MkOneOf, are licensed under the terms of the GNU General Public Licence (GPL). .PP This library and toolset is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Licences for more details. .SH "SEE ALSO" .BR DtdToHaskell (1) .SH AUTHOR This contents of this manual page was copied from the HTML documentation and slightly edited by Arjan Oosting for the Debian system (but may be used by others).