Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: midas.dll / midaslib - different XML from Dataset


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0 Threads: [ Previous | Next ]
Stefan Westner

Posts: 36
Registered: 10/14/99
midas.dll / midaslib - different XML from Dataset  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 19, 2017 6:01 AM
Hello,

I have a dataset properly set up. When is use midas.dll then the XML looks like

<?xml version="1.0" standalone="yes"?> <DATAPACKET Version="2.0"><METADATA><FIELDS><FIELD attrname="ID" fieldtype="i4" required="true"/>

<FIELD attrname="EXTERNID" fieldtype="string.uni" WIDTH="500"/>
[..]

<ROWDATA><ROW ID="3" EXTERNID="CA0000015127000002" DOCGUID="A534F26C406F44F297546A727692146B01" NAME="CA0000015127000002: Doc 2 &lt;&amp;&gt; &quot;Ä&quot;Ö&apos;Ü&apos;ß" CREATIONTIME="20170718T16:04:04000" CIPKEY="CA0000015127000002" HHJ="2007" MANDANT="Standard" GKZ="2" HHST="02/99996580" AONR="11636" BELEG="2" GES_AOSOLL="222.00" AO_BRUTTO="222.00"/></ROWDATA></DATAPACKET>

When I put midaslib in the uses of the dpr the XML looks like

<?xml version="1.0" standalone="yes"?> <DATAPACKET Version="2.0"><METADATA><FIELDS><FIELD attrname="ID" fieldtype="i4" required="true"/>

<FIELD fieldname="EXTERNID" attrname="xF1" fieldtype="string.uni" WIDTH="500"/>

<ROWDATA><ROW ID="3" xF1="CA0000015127000002" xF2="BE6CA66C98AF49A5892F9996BA37B3DF01" NAME="CA0000015127000002: Doc 2 &lt;&amp;&gt; &quot;Ä&quot;Ö&apos;Ü&apos;ß" xF4="20170718T15:59:25000" xF6="CA0000015127000002" xF7="2007" MANDANT="Standard" xF9="2" xF10="02/99996580" xF11="11636" xF12="2" xF13="222.00" xF14="222.00"/></ROWDATA></DATAPACKET>

Fieldnames and attrnames changes.

I use Delphi 10.2 Tokyo.

Why?

Greetings

Stefan

Edited by: Stefan Westner on Jul 19, 2017 3:01 PM

Edited by: Stefan Westner on Jul 19, 2017 3:02 PM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02