Click to Rate and Give Feedback
MSDN
MSDN Library
MSXML
SAX2
SAX2 Reference
 schemas Property [SAX Reader]
Collapse All/Expand All Collapse All
schemas Property [SAX Reader]

[This feature was first implemented for MSXML 4.0.]

Used to register schemas with the SAX reader.

oSaxReader.putProperty(strProp, oCache);
oCache = oSaxReader.getProperty(strProp);
oSaxReader.putProperty(strProp, oCache)
oCache = oSaxReader.getProperty(strProp)
HRESULT putProperty(BSTR strProp, VARIANT oCache);
HRESULT getProperty(BSTR strProp, VARIANT oCache);
strProp

A BSTR string whose value is "schemas".

strVal

An object of IXMLDOMSchemaCollection/XMLSchemaCache type.

When the SAX reader is actively parsing, this property is limited to read-only access. Otherwise, if the SAX reader is not actively parsing, full (read/write) access is permitted.

Interface: ISAXXMLReader

Method: putProperty | getProperty

Implemented in: MSXML 4.0 and later

© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker