Skip to Content
0
Former Member
Nov 03, 2004 at 11:28 AM

creating a XML document for a posting via HTTP

44 Views

Hi, I am creating an XML document with the iXML type library using DOM as follows:

ixml = cl_ixml=>create( ).

document = ixml->create_document( ).

element = document->create_element( name = 'importdm' ).

rc = document->append_child( element ).

.....

.....

When I finished with the XML creation, then I want to append it to the request VIA HTTP_CLIENT->request->set_cdata( content ). (content is a STRING variable). The problem is that I dont know how to transform the document variable to CDATA.

Do anyone know how to do it?

Thanks for helping

Ariel