You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Simon Elbaz <si...@free.fr> on 2007/03/02 00:19:57 UTC
[Axis2/C] Passing axiom node to xerces
Hi,
I would like to transmit an axiom_node_t or axiom_element_t
(axis2c-src-0.96) to a Xerces parser (xerces-2.7.0) through for example
a stringbuffer message.
Is it possible to do it and how ?
Thks for your help
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: [Axis2/C] Passing axiom node to xerces
Posted by Dinesh Premalal <xy...@gmail.com>.
Hi Simon,
Simon Elbaz <si...@free.fr> writes:
> Hi,
> I would like to transmit an axiom_node_t or axiom_element_t
> (axis2c-src-0.96) to a Xerces parser (xerces-2.7.0) through for
> example a stringbuffer message.
> Is it possible to do it and how ?
If you need a node as a string there is a function available called,
AXIOM_NODE_TO_STRING. Please see axiom_node.h for more information [1].
If you need to use xerces as AXIOM's underlying parser, you need to
implement axiom_reader.h and axiom_writer.h interfaces. Such a
implemented xml parser wrapper is available in om/src/parser/libxml2
[2] or om/src/parser/guththila directory
thanks,
Dinesh
[1]. http://svn.apache.org/repos/asf/webservices/axis2/trunk/c/axiom/include/axiom_node.h
[2]. http://svn.apache.org/repos/asf/webservices/axis2/trunk/c/axiom/src/parser/libxml2/
--
Dinesh Premalal
dinesh@wso2.com
WSO2, Inc.; http://www.wso2.com/
GPG Key ID : A255955C
GPG Key Finger Print : C481 E5D4 C27E DC34 9257 0229 4F44 266E A255 955C
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org