mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msxml3: Implement IXMLDOMElement::removeAttribute().
This commit is contained in:
parent
91a1321a97
commit
7724b053e2
1 changed files with 13 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue