Commit ef23ab47 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

msxml: Add attribute node implementation.

parent 71908c41
...@@ -9,6 +9,7 @@ EXTRALIBS = -luuid $(LIBUNICODE) @XML2LIBS@ @XSLTLIBS@ ...@@ -9,6 +9,7 @@ EXTRALIBS = -luuid $(LIBUNICODE) @XML2LIBS@ @XSLTLIBS@
EXTRAINCL = @XML2INCL@ @XSLTINCL@ EXTRAINCL = @XML2INCL@ @XSLTINCL@
C_SRCS = \ C_SRCS = \
attribute.c \
domdoc.c \ domdoc.c \
element.c \ element.c \
factory.c \ factory.c \
......
...@@ -32,6 +32,7 @@ extern IUnknown *create_domdoc( void ); ...@@ -32,6 +32,7 @@ extern IUnknown *create_domdoc( void );
extern IUnknown *create_xmldoc( void ); extern IUnknown *create_xmldoc( void );
extern IXMLDOMNode *create_node( xmlNodePtr node ); extern IXMLDOMNode *create_node( xmlNodePtr node );
extern IUnknown *create_basic_node( xmlNodePtr node, IUnknown *pUnkOuter ); extern IUnknown *create_basic_node( xmlNodePtr node, IUnknown *pUnkOuter );
extern IUnknown *create_attribute( xmlNodePtr attribute );
extern IUnknown *create_element( xmlNodePtr element ); extern IUnknown *create_element( xmlNodePtr element );
extern IXMLDOMNodeList *create_nodelist( xmlNodePtr node ); extern IXMLDOMNodeList *create_nodelist( xmlNodePtr node );
extern IXMLDOMNamedNodeMap *create_nodemap( IXMLDOMNode *node ); extern IXMLDOMNamedNodeMap *create_nodemap( IXMLDOMNode *node );
......
...@@ -852,6 +852,9 @@ IXMLDOMNode *create_node( xmlNodePtr node ) ...@@ -852,6 +852,9 @@ IXMLDOMNode *create_node( xmlNodePtr node )
TRACE("type %d\n", node->type); TRACE("type %d\n", node->type);
switch(node->type) switch(node->type)
{ {
case XML_ATTRIBUTE_NODE:
pUnk = create_attribute( node );
break;
case XML_ELEMENT_NODE: case XML_ELEMENT_NODE:
pUnk = create_element( node ); pUnk = create_element( node );
break; break;
......
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