xmllint: Check an XML document is parseable

Description Usage Arguments See Also

Description

This function can be used to determine the errors in an XML document which make it not parseable. This is helpful when one has a document that cannot be read and one wants to find where the errors are.

Usage

1

Arguments

doc

the XML document to be processed. This can be either the file name (or URL) or the already parsed XML document returned from xmlParse .

system

a logical value which indicates whether to use the xmllint program system via a system call or whether to use our own internal parser and cumulate the errors. These are very similar, relying on the same basic parser.

See Also

xmlParse


omegahat/XDocTools documentation built on May 24, 2019, 1:57 p.m.