<parser>
Specifies the parser and parsing options.
Attributes:
name
- Name of the parser. The valid values are:
tidy
- Use the Tidy parser for parsing HTML. This is the default
for HTML. Validation is always done by this parser.
swing
- Use the Swing parser for parsing HTML. Limited validation is
always done by this parser.
xerces
- Use the Xerces parser for parsing XML. This is only XML
parser and is the default. Validation is optional with this parser.
The default is to validate.
validate
- Changes the default document validation mode of the
parser. An error is generated if the value isn't supported by the
parser. Boolean value, if unspecified, the default parse validation is used.
warnings
- Enables or disables the printing warnings.
Boolean value, default is to enable warnings.
<xcatalog/>
Specifies a XCatalog file to use in resolving external entities when parsing XML files. This element maybe specified multiple times. The catalogs will be search in the order specified.
Attributes:
url
- The URL of the XML catalog file.