Re: [FYI] smpp my-number and post-xml
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wiral Ltd |
| Message-ID | <[email protected]> |
Stipe Tolj wrote: > > > > I've added preliminary support to XML Post to smsbox. > > > I'm building the xml with octstr_append (this issue I guess it's > > > almost ok) but I'm processing the incoming xml with > > > octstr_search and octstr_copy :P > > > There's still some variables missing and alot of debug to be done. > > > > I don't think it makes sense to use the octstr_* functions to handle > > XML when the code already depends on libxml. Why not use libxml to > > construct and parse the XML ? > > I have done this in gwlib/xmlrpc.[ch] using the libxml2 functions. Me too ;) You can use existing code to parse the tree. Specific parts starts only with parsing attribute values. Aarno