Skip to Content
0
Former Member
Jun 13, 2011 at 11:56 AM

XML file - adding attributes of complex data type

160 Views

Hi

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 = "http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="../lib/interface_address.xsd"

XSD sample

http://www.w3.org/2001/XMLSchema">

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

<xsd:complexType name="dcsmergedatatype">

Required XML output

http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../lib/interface_address.xsd">

Thanks