Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This feature determines for all parameter entities, whether all (true
) or some (false
) ISAXLexicalHandler
event methods are fired.
JScript Syntax
oSaxReader.putFeature(strFeature, vBool);
vBool= oSaxReader.getFeature(strFeature);
Visual Basic Syntax
oSaxReader.putFeature
(strFeature, vBool)
vBool= oSaxReader.getFeature
(strFeature)
C/C++ Syntax
HRESULT putFeature(BSTR strFeature, VARIANT vBool);
HRESULT getFeature(BSTR strFeature, VARIANT* vBool);
Value
strFeature
A BSTR string whose value is "http://xml.org/sax/features/lexical-handler/parameter-entities
".
vBool
A VARIANT_BOOL value of true
or false
that indicates the value of the feature. If true
, all ISAXLexicalHandler
event methods events are fired for all parameter entities. If false
, the following ISAXLexicalHandler
event methods are not fired for all parameter entities: startEntity
, endEntity
, skippedEntity
. This includes parameter entities defined in external document type definition (DTD) subsets. The default value is true
.
Remarks
When the SAX reader is actively parsing, this feature is limited to read-only access. Otherwise, if the SAX reader is not actively parsing, full (read/write) access is permitted.
Applies to
Interface: ISAXXMLReader
Method: putFeature | getFeature
Versioning
Implemented in: MSXML 3.0 and later