Xml.XMLIntf.TParseOptions
Delphi
TParseOptions = set of TParseOption;
C++
typedef System::Set<TParseOption, TParseOption::poResolveExternals, TParseOption::poAsyncLoad> TParseOptions;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | Xml.XMLIntf |
Description
TParseOptions and TParseOption represent implementation-specific options that are followed when parsing the XML document.
TParseOptions is a set of TParseOption values. Each TParseOption value provides information about how a DOM parser should parse an XML document. Different DOM implementations support different options.
The following table lists the possible values:
Option | DOM Vendor | Meaning |
---|---|---|
poResolveExternals |
MSXML |
External definitions (resolvable namespaces, DTD external subsets, and external entity references) are resolved at parse time. |
poValidateOnParse |
MSXML |
The DOM parser validates the XML document against its schema information as well as verifying that it is well-formed XML. |
poPreserveWhiteSpace |
MSXML |
White space in the text of the XML document is not stripped off. |
poAsyncLoad |
MSXML |
The DOM parser works asynchronously. This can speed up performance, especially when parsing a large XML document, but can also lead to exceptions if the application tries to access nodes in the document before it is completely parsed. |