XMLp Configuration
The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.
XMLp Configuration Settings
IgnoreBadAttributePrefixes: If true, bad (unknown) attribute prefixes are ignored. Normally a trappable error is generated when an unknown attribute prefix is encountered. This setting suppresses the error. The default value is False. | |
IgnoreBadElementPrefixes: If true, bad (unknown) element prefixes are ignored. Normally a trappable error is generated when an unknown element prefix is encountered. This setting suppresses the error. The default value is False. | |
CacheContent: If true, the original XML is saved in a buffer. This config controls whether or not the component retains the entire original XML in a buffer. This is used to retain the original XML as opposed to returning generated XML after parsing. The default value is true. | |
ErrorOnEmptyAttr: If true, passing an invalid attribute to the Attr method will throw an exception. If an invalid attribute name is passed into the Attr method, the method will return with an empty string if this is set to false, otherwise an exception is thrown. | |
PreserveWhitespace: If true, leading and trailing whitespace in element text is preserved. Normally the leading and trailing whitespace from an element's text is trimmed. When this property is set to true, this leading and trailing whitespace is preserved. The default value is false. |
Base Configuration Settings
SelectWaitMillis: The length of time in milliseconds the class will wait when DoEvents is called if there are no events to process. If there are no events to process when DoEvents is called, the class will wait for the amount of time specified here before returning. The default value is 20. |
Base Configuration Settings
CodePage: The system code page used for Unicode to Multibyte translations. The default code page is the Active Code Page (0). The following is a list of valid code page identifiers:
The following is a list of valid code page identifiers for Mac OS only:
|