From 73e428cb61f06f1582d65f98843a0bcf174c2f00 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Fri, 15 Oct 2004 13:34:02 +0000 Subject: develop --- libcsoap/soap-xml.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libcsoap/soap-xml.c') diff --git a/libcsoap/soap-xml.c b/libcsoap/soap-xml.c index 95b23c0..f973036 100644 --- a/libcsoap/soap-xml.c +++ b/libcsoap/soap-xml.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-xml.c,v 1.5 2004/09/02 11:48:28 rans Exp $ +* $Id: soap-xml.c,v 1.6 2004/10/15 13:34:02 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -125,3 +125,9 @@ void soap_xml_doc_print(xmlDocPtr doc) xmlBufferFree(buffer); } + +char *soap_xml_get_text(xmlNodePtr node) +{ + return (char*)xmlNodeListGetString(node->doc, node->xmlChildrenNode, 1); +} + -- cgit v1.1-32-gdbae