Commit 8842ccb6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml3: Implement get_namespaceURI.

parent fe470694
...@@ -1143,8 +1143,26 @@ static HRESULT WINAPI xmlnode_get_namespaceURI( ...@@ -1143,8 +1143,26 @@ static HRESULT WINAPI xmlnode_get_namespaceURI(
IXMLDOMNode *iface, IXMLDOMNode *iface,
BSTR* namespaceURI) BSTR* namespaceURI)
{ {
FIXME("\n"); xmlnode *This = impl_from_IXMLDOMNode( iface );
return E_NOTIMPL; HRESULT hr = S_FALSE;
xmlNsPtr *pNSList;
TRACE("%p %p\n", This, namespaceURI );
if(!namespaceURI)
return E_INVALIDARG;
*namespaceURI = NULL;
pNSList = xmlGetNsList(This->node->doc, This->node);
if(pNSList)
{
*namespaceURI = bstr_from_xmlChar( pNSList[0]->href );
hr = S_OK;
}
return hr;
} }
static HRESULT WINAPI xmlnode_get_prefix( static HRESULT WINAPI xmlnode_get_prefix(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment