Freigeben über


preserve-system-identifiers Feature

 

This feature determines whether system identifiers reported by the SAX reader are (true) or are not (false) resolved.

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 "preserve-system-identifiers".

vBool
A VARIANT_BOOL value of true or false that indicates the value of the feature. If true, system identifiers reported by the reader are not resolved. This applies to all system identifiers used with any lexical, declaration, or DTD handlers, as well as any entity resolvers that might be implemented. Internally, however, system identifiers are still resolved.

If false, system identifiers reported by the reader are resolved. The default value is false.

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