blob: c2cc694b7a814a02e4932eb2c2894d274b86a13a [file] [log] [blame]
Daniel Veillard979e55e2000-08-19 16:48:54 +00001.TH XMLLINT 1 "12 April 2000"
2.SH NAME
3xmllint \- parse XML files and print the result of parsing
4.SH SYNOPSIS
5.B xmllint
6.RB [ \-\-compress ]
7.RB [ \-\-copy ]
8.RB [ \-\-debug ]
9.RB [ \-\-debugent ]
10.RB [ \-\-htmlout ]
11.RB [ \-\-insert ]
12.RB [ \-\-noblanks ]
13.RB [ \-\-noent ]
14.RB [ \-\-noout ]
15.RB [ \-\-nowarning ]
16.RB [ \-\-nowarp ]
17.RB [ \-\-postvalid ]
18.RB [ \-\-push ]
19.RB [ \-\-recover ]
20.RB [ \-\-repeat ]
21.RB [ \-\-shell ]
22.RB [ \-\-testIO ]
23.RB [ \-\-valid ]
24.IR xmlfile ...
25.SH DESCRIPTION
26The
27.IR xmllint
28program parses one or more XML files,
29specified on the command line as
30.IR xmlfile ....
31It prints various types of output
32(depending upon the options selected).
33It is useful for detecting errors both in XML code and in the
34XML parser itself.
35.SH OPTIONS
36.TP 12
37.B \-\-compress
38Do
39.IR gzip (1)
40compression for the output.
41.TP
42.B \-\-copy
43Test the internal copy implementation.
44.TP
45.B \-\-debug
46Dump a debug tree of the in-memory document.
47.TP
48.B \-\-debugent
49Debug the entities defined in the document.
50.TP
51.B \-\-htmlout
52Output results in
53.I html
54format.
55.TP
56.B \-\-insert
57Test for valid insertion.
58.TP
59.B \-\-noblanks
60Drop blanks from the output.
61.TP
62.B \-\-noent
63Substitute entity references by their value.
64.TP
65.B \-\-noout
66Do not output the result tree.
67.TP
68.B \-\-nowarning
69Do not print warning messages from the parser or validator.
70.TP
71.B \-\-nowarp
72Do not put
73.I html
74document wrapper.
75.TP
76.B \-\-postvalid
77Do a
78.I posteriori
79validation.
80.TP
81.B \-\-push
82Use the push mode for the parser.
83.TP
84.B \-\-recover
85Output what was parsable on broken XML documents.
86.TP
87.B \-\-repeat
88Repeat the process 100 times, for the purpose of timing and profiling.
89.TP
90.B \-\-shell
91Run a navigating shell.
92.TP
93.B \-\-testIO
94Test user i/o support.
95.TP
96.B \-\-valid
97Validate the document in addition to std well-formed.
98.SH FILES
99.TP 2.2i
100.B /depot/package/libxml_2.0.0/bin/xmllint
101executable
102.SH "SEE ALSO"
103.BR libxml (4)
104.SH AUTHOR
105Daniel Veillard (Daniel.Veillard@w3.org)
106Manual page by Ziying Sherwin,
107Lister Hill National Center for Biomedical Communication,
108U.S. National Library of Medicine (sherwin@nlm.nih.gov).
109.\" end of manual page