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 was only implemented for MSXML 6.0.]
Returns a collection of notation objects.
The notations property returns just the notation objects for a single target namespace. If you want to see all of the notation objects for all namespaces, you must query each target namespace separately.
Example
The following example shows how to list the <notation> declarations from the ISchemaItemCollection of notations.
Set oSchemaCache = CreateObject("Msxml2.XMLSchemaCache.6.0")
oSchemaCache.add "", "po.xsd"
Set oSchema = oSchemaCache.getSchema("")
For Each oNotation in oSchema.notations
WScript.Echo oNotation.name + " " + oNotation.systemIdentifier + " " + oNotation.publicIdentifier
Next
JScript Syntax
var oNotations = oISchema.notations;
Parameters
None.
Return Values
oNotations
An object. The collection of notations. This collection contains objects that implement the ISchemaNotation interface.
Visual Basic Syntax
Set oNotations = oISchema.notations
Parameters
None.
Return Values
oNotations
An object. The collection of notations. This collection contains objects that implement the ISchemaNotation interface.
C/C++ Syntax
HRESULT get_notations (ISchemaItemCollection** notations);
Parameters
notations[out,retval]
An object. The collection of notations.
Return Values
S_OK
The value returned if successful.
E_Pointer
The value returned if the notations collection is NULL.
E_FAIL
The value returned if something else is wrong.
Versioning
Implemented in: MSXML 6.0