Skip to Content
0
Former Member
Apr 25, 2017 at 10:21 AM

how to create 2 namespace using interafce IF_IXML_DOCUMENT for XML creation

197 Views

output required :-

<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">



code written by me :-
document = lo_document->create_simple_element(
                                     name    = 'Document'
                                     parent  = lo_document ).


lv_document =  document->set_attribute( name = 'xmlns'
                                        value =  lv_namespace ).