axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugen Hermann <hermann.eu...@googlemail.com>
Subject Re: reverse axiom_node_to_string()
Date Thu, 26 Feb 2009 16:02:16 GMT
Hi Arratia,

axiom_node_t *root_node = NULL;
axiom_xml_reader_t *reader = axiom_xml_reader_create_for_memory(env, str,
axutil_strlen(str), "UTF-8", AXIXS2_XML_PARSER_TZPE_BUFFER);

if(reader)
{
axiom_stax_builder_t *sb = axiom_stax_builder_create(env, reader);
    if(!sb)
   {
        axiom_document_t *doc = axiom_stax_builder_get_document(sb,env);
        if(doc)
        {
             root_node = axiom_document_build_all(doc,env);
            axiom_stax_builder_free(sb,env);
       }
  }
}

return root_node;


With best regards
Eugen




On 2/26/09, Elsy Arratia-Scheit <elsy.arratia-scheit@atl.fraunhofer.de> wrote:
> Hi there,
>
> Is there a function to reverse axiom_node_to_string()  ?? I meant, having a
> string, i want to have an  axiom_node_t  structure.
>
>
> cheers,
>
> Elsy
>

Mime
View raw message