IEIsXMLNSRegistered function

Determines if the specified XML namespace is registered.

Syntax


HRESULT STDAPICALLTYPE IEIsXMLNSRegistered(
  _In_  LPCWSTR lpszURI,
  _Out_ GUID    *pCLSID
);

Parameters

lpszURI [in]

A pointer to the XML namespace schema URI.

pCLSID [out]

A pointer to the registered CLSID for the XML namespace, if successful.

Return value

This function can return one of these values.

Return codeDescription
E_NOTFOUND

There is no registered CLSID for the URI.

E_INVALIDARG

The pCLSID is NULL.

CO_E_CLASSSTRING

The operation failed.

 

Remarks

The IEIsXMLNSRegistered function can be used to determine whether a handler has been registered for specialized XML formats, such as Scalable Vector Graphics (SVG), or MathML.

On Windows Server 2003 (x64) Datacenter Edition, this method returns CO_E_CLASSSTRING. You cannot check if an XML namespace is registered on that platform.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista

Minimum supported server

Windows Server 2008

Header

Mshtmhst.h

DLL

Mshtml.dll;
Mshtml.dll

See also

Creating an HTML Resource

 

 

Show: