targetNamespace Property1
[This feature was only implemented for MSXML 6.0.]
Returns a string that indicates the value of the targetNamespace
attribute of the XML Schema. The targetNamespace
is an attribute of the <schema>
declaration.
Example
The following is an example of the targetNamespace
attribute in an XML Schema.
<schema targetNamespace="http://www.samplenamespace.microsoft.com">
<element>
</element>
</schema>
JScript Syntax
var strTargetNamespace = oISchema.targetNamespace;
Parameters
None.
Return Values
strTargetNamespace
A string. The value of the targetNamespace
attribute of the XML Schema.
Visual Basic Syntax
var strTargetNamespace = oISchema.targetNamespace
Parameters
None.
Return Values
strTargetNamespace
A string. The value of the targetNamespace
attribute of the XML Schema.
C/C++ Syntax
HRESULT get_targetNamespace(BSTR* targetNamespace);
Parameters
targetNamespace[out,retval]
A string. The value of the targetNamespace
attribute of the XML Schema.
Return Values
S_OK
The value returned if successful.
E_Pointer
The value returned if the targetNamespace
is NULL.
E_FAIL
The value returned if something else is wrong.
Versioning
Implemented in: MSXML 6.0