unhandledAttributes Property

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SOM Reference

unhandledAttributes Property

Returns an ISchemaItemCollection object. This collection contains all the attributes that are not defined in the schema namespace.

Example

The following is an example of an unhandled attribute in a schema.

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:catalog="http://www.example.microsoft.com/catalog">
   <xsd:element name="book" id="bookID" catalog:attr="isbn"/>
</xsd:schema>
[Script]

Implementation Syntax

var oAttributes = oISchemaItem.unhandledAttributes;

Parameters

None.

Return Values

oAttributes
An object. The collection of attributes that are not defined in the schema namespace.
[Visual Basic]

Implementation Syntax

Set oAttributes = oISchemaItem.unhandledAttributes

Parameters

None.

Return Values

oAttributes
An object. The collection of attributes that are not defined in the schema namespace.
[C/C++]

Implementation Syntax

HRESULT get_unhandledAttributes(ISAXAttributes** attributes);

Parameters

attributes [out,retval]
An object. The collection of attributes that are not defined in the schema namespace.

Return Values

S_OK
The value returned if no errors are reported.
E_FAIL
The value returned if something is wrong.

Remarks

The return value of this property is a collection of unhandled attributes of the ISAXAttributes type.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

Using Other Namespaces | ISAXAttributes Interface

Applies to: ISchemaItem Interface