Commit 7724b053 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Implement IXMLDOMElement::removeAttribute().

parent 91a1321a
......@@ -598,8 +598,19 @@ static HRESULT WINAPI domelem_removeAttribute(
IXMLDOMElement *iface,
BSTR p)
{
FIXME("\n");
return E_NOTIMPL;
domelem *This = impl_from_IXMLDOMElement( iface );
IXMLDOMNamedNodeMap *attr;
HRESULT hr;
TRACE("(%p)->(%s)", This, debugstr_w(p));
hr = IXMLDOMElement_get_attributes(iface, &attr);
if (hr != S_OK) return hr;
hr = IXMLDOMNamedNodeMap_removeNamedItem(attr, p, NULL);
IXMLDOMNamedNodeMap_Release(attr);
return hr;
}
static HRESULT WINAPI domelem_getAttributeNode(
......
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