Commit 5d629e7c authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

msxml: Text node implementation.

parent 14889a61
...@@ -17,7 +17,8 @@ C_SRCS = \ ...@@ -17,7 +17,8 @@ C_SRCS = \
node.c \ node.c \
nodelist.c \ nodelist.c \
nodemap.c \ nodemap.c \
parseerror.c parseerror.c \
text.c
SUBDIRS = tests SUBDIRS = tests
......
...@@ -34,6 +34,7 @@ extern IXMLDOMNode *create_node( xmlNodePtr node ); ...@@ -34,6 +34,7 @@ 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_attribute( xmlNodePtr attribute );
extern IUnknown *create_element( xmlNodePtr element ); extern IUnknown *create_element( xmlNodePtr element );
extern IUnknown *create_text( xmlNodePtr text );
extern IXMLDOMNodeList *create_nodelist( xmlNodePtr node ); extern IXMLDOMNodeList *create_nodelist( xmlNodePtr node );
extern IXMLDOMNamedNodeMap *create_nodemap( IXMLDOMNode *node ); extern IXMLDOMNamedNodeMap *create_nodemap( IXMLDOMNode *node );
extern IXMLDOMNodeList *create_filtered_nodelist( xmlNodePtr, const xmlChar * ); extern IXMLDOMNodeList *create_filtered_nodelist( xmlNodePtr, const xmlChar * );
......
...@@ -858,6 +858,9 @@ IXMLDOMNode *create_node( xmlNodePtr node ) ...@@ -858,6 +858,9 @@ IXMLDOMNode *create_node( xmlNodePtr node )
case XML_ELEMENT_NODE: case XML_ELEMENT_NODE:
pUnk = create_element( node ); pUnk = create_element( node );
break; break;
case XML_TEXT_NODE:
pUnk = create_text( node );
break;
case XML_DOCUMENT_NODE: case XML_DOCUMENT_NODE:
ERR("shouldn't be here!\n"); ERR("shouldn't be here!\n");
return NULL; return NULL;
......
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