IEIsXMLNSRegistered Function
Determines if the specified XML namespace is registered.
Syntax
typedef HRESULT STDAPICALLTYPE IEISXMLNSREGISTEREDFN ( LPCWSTR lpszURI, GUID *pCLSID );
Parameters
- lpszURI
- [in] A pointer to the XML namespace schema Uniform Resource Identifier (URI).
- pCLSID
- [out] A pointer to the registered class identifier (CLSID) for the XML namespace, if successful.
Return Value
Returns one of the following values.
S_OK The operation completed successfully. 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.
Function Information
Stock Implementation mshtml.dll Custom Implementation No Header mshtmhst.h Import library mshtml.dll Minimum availability Internet Explorer 8 Minimum operating systems Windows XP SP2, Windows Vista
See Also
Creating an HTML Resource