<parser> Elements

<parser> Specifies the parser and parsing options.

Attributes:

name Name of the parser. The valid values are as follows:

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 the 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. This is a Boolean value, and if unspecified, the default parse validation is used.
warnings Enables or ...

Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.