Commit 3b5c2221 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Implemented the IXMLDOMElement interface.

parent 2be395db
......@@ -10,6 +10,7 @@ EXTRAINCL = @XML2INCL@
C_SRCS = \
domdoc.c \
element.c \
factory.c \
main.c
......
......@@ -39,8 +39,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
#ifdef HAVE_LIBXML2
#include <libxml/parser.h>
typedef struct _domdoc
{
const struct IXMLDOMDocumentVtbl *lpVtbl;
......@@ -501,8 +499,11 @@ static HRESULT WINAPI domdoc_get_documentElement(
IXMLDOMDocument *iface,
IXMLDOMElement** DOMElement )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
FIXME("%p\n", This);
return DOMElement_create(DOMElement, This->xmldoc);
}
......
......@@ -21,6 +21,14 @@
#ifndef __MSXML_PRIVATE__
#define __MSXML_PRIVATE__
#ifdef HAVE_LIBXML_PARSER_H
#include <libxml/parser.h>
extern HRESULT DOMElement_create( IXMLDOMElement** DOMElement, xmlDocPtr xmldoc );
#endif
extern HRESULT DOMDocument_create( IUnknown *pUnkOuter, LPVOID *ppObj );
#endif /* __MSXML_PRIVATE__ */
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