namespaces Property (ISchemaAny)
[This feature was only implemented for MSXML 6.0.]
Returns a string collection of namespaces. The namespaces are used by the <anyAttribute>
declaration to validate the well-formed XML.
JScript Syntax
var oNamespaces = oISchemaAny.namespaces;
Parameters
None.
Return Values
oNamespaces
An object. The collection of namespaces for the any particle. The namespaces returned can be: ((##any|##other)|List of (anyURI|(##targetNamespace|##local))).
Visual Basic Syntax
Set oNamespaces = oISchemaAny.namespaces
Parameters
None.
Return Values
oNamespaces
An object. The collection of namespaces for the any particle. The namespaces returned can be: ((##any|##other)|List of (anyURI|(##targetNamespace|##local))).
C/C++ Syntax
HRESULT get_namespaces(ISchemaStringCollection* namespaces);
Parameters
namespaces[out,retval]
An object. The collection of namespaces for the any particle.
Return Values
S_OK
The value returned if successful.
E_POINTER
The value returned if the namespaces
object is NULL.
E_FAIL
The value returned if something else is wrong.
Versioning
Implemented in: MSXML 6.0
Applies to
See Also
ISchemaStringCollection Interface
Using Namespaces in Schemas