Commit 77392f2d authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Implement IXMLDOMElement::get_tagName.

parent b814be98
...@@ -428,8 +428,21 @@ static HRESULT WINAPI domelem_get_tagName( ...@@ -428,8 +428,21 @@ static HRESULT WINAPI domelem_get_tagName(
IXMLDOMElement *iface, IXMLDOMElement *iface,
BSTR* p) BSTR* p)
{ {
FIXME("\n"); domelem *This = impl_from_IXMLDOMElement( iface );
return E_NOTIMPL; xmlNodePtr element;
TRACE("%p\n", This );
if ( !This->node )
return E_FAIL;
element = xmlelement_from_xmlnode( This->node );
if ( !element )
return E_FAIL;
*p = bstr_from_xmlChar( element->name );
return S_OK;
} }
static HRESULT WINAPI domelem_getAttribute( static HRESULT WINAPI domelem_getAttribute(
......
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