on 11-03-2004 11:28 AM
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
Hi Ariel,
use
response->if_http_entity~set_data( data = content length =...)
regards, Ulli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.