Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML file - adding attributes of complex data type


The scenario I have is to create an XML file from an IDoc and send via FTP.

The issue I cannot resolve is the root elemnt (dcsmergedata) of the output needs have the following attributes:

xmlns:xsi = ""


XSD sample

<xsd:schema xmlns:xsd="">

<xsd:element name="dcsmergedata" type="dcsmergedatatype"/>

<xsd:complexType name="dcsmergedatatype">

Required XML output

<dcsmergedata xmlns:xsi="" xsi:noNamespaceSchemaLocation="../lib/interface_address.xsd">


Not what you were looking for? View more on this topic or Ask a question