Inhaltsverzeichnis

Example XML Files with Interchange

An example for the definition of a PlugIn for an XMLs document with an interchange and several documents below the interchange.

Beispiel XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<INVOICES>
	<INVOICLIST>
		<Mandant>72</Mandant>
		<SenderILN>xxxx</SenderILN>
		...
		<INVOIC>
			<HEADER>
				<INVOIC_INFO>
				...
	    </INVOIC>
		<INVOIC>
			<HEADER>
				<INVOIC_INFO>
				...
	    </INVOIC>
	</INVOICLIST>
</INVOICES>

Beispiel C# Code

    public class INVOICES : IMapObjectRoot
    {
        [MapInterchangeRecord]
        [MapMaxOccurs(1)]
	public INVOICLIST INVOICLIST;
 
        [MapTrigger]
        [MapMinOccurs(1)]
        public INVOIC INVOIC;
    }