TParseOption and TParseOptions represent implementation-specific options that are followed when parsing the XML document.
TParseOption = ( poResolveExternals, poValidateOnParse, poPreserveWhiteSpace, poAsyncLoad );
enum TParseOption { poResolveExternals, poValidateOnParse, poPreserveWhiteSpace, poAsyncLoad };
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:
OptionDOM VendorMeaning
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. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|