msxml3: Implement IXMLDOMElement::removeAttribute().

This commit is contained in:
Nikolay Sivov 2010-01-18 23:29:21 +03:00 committed by Alexandre Julliard
parent 91a1321a97
commit 7724b053e2
1 changed files with 13 additions and 2 deletions

View File

@ -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(