XML Datapacket2.0 nutzen

Joseliese

Grünschnabel
Hallo Forum,

ich stehe vor einem Problem, und hoffe, hier weitere Hilfe zu bekommen. Ich möchte gern Daten aus einer Datenbank auslesen, in ein XML Dokument schreiben und dieses dann in unsere Warenwirtschaft importieren. So ersparen wir den Mitarbeitern viel Tipperei.
Ich habe Testweise einen Datenexport aus der Warenwirtschaft ausgeführt, um die Struktur übernehmen zu können. Nun stellte sich heraus, dass diese im Format <DATAPACKET2.0> vorliegen. Habe ich in PHP die Möglichkeit, solche XML-Dateien zu erzeugen oder anderweitig zu konvertieren?
Meine Recherche ergab, dass das Format in Delphi genutzt wird, was ich für meine Zwecke aber leider nicht gebrauchen kann.
Im Anhang habe ich eine Beispiel-Datei angehangen.
Vielen Dank schon im Voraus

XML:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>

<!--   -->  

<DATAPACKET Version="2.0">

  <METADATA>
    <FIELDS>
    <!-- Definitionen der exportierten Felder  -->  

      <FIELD attrname="SG_AUF_FSCHRIFT_1_FK" fieldtype="i4"/>
      <FIELD attrname="POSINR" fieldtype="i4"/>
      <FIELD attrname="SG_AUF_FPOS_PK" fieldtype="i4"/>
      <FIELD attrname="SG_AUF_FSCHRIFT_2_FK" fieldtype="i4"/>
      <FIELD attrname="SG_AUF_FPOS_1_FK" fieldtype="i4"/>
      <FIELD attrname="SG_AUF_FPOS_2_FK" fieldtype="i4"/>
      <FIELD attrname="ALTERFART" fieldtype="string" WIDTH="4"/>
      <FIELD attrname="POSART" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="POSNR" fieldtype="string" WIDTH="10"/>
      <FIELD attrname="SNRPOSINR" fieldtype="r8"/>
      <FIELD attrname="SG_ADRESSEN_FK" fieldtype="i4"/>
      <FIELD attrname="ARTNR" fieldtype="string" WIDTH="80"/>
      <FIELD attrname="SG_AUF_ARTIKEL_FK" fieldtype="i4"/>
      <FIELD attrname="BESTNR" fieldtype="string" WIDTH="80"/>
      <FIELD attrname="SUCHBEGRIFF" fieldtype="string" WIDTH="80"/>
      <FIELD attrname="WG" fieldtype="string" WIDTH="30"/>
      <FIELD attrname="EINHEIT" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="GEWICHT" fieldtype="r8"/>
      <FIELD attrname="MENGE" fieldtype="r8"/>
      <FIELD attrname="AUFTRAG" fieldtype="r8"/>
      <FIELD attrname="LIEFERUNG" fieldtype="r8"/>
      <FIELD attrname="RECHNUNG" fieldtype="r8"/>
      <FIELD attrname="GUTSCHRIFT" fieldtype="r8"/>
      <FIELD attrname="STORNO" fieldtype="r8"/>
      <FIELD attrname="BESTELLT" fieldtype="r8"/>
      <FIELD attrname="BESTORNO" fieldtype="r8"/>
      <FIELD attrname="EINGANG" fieldtype="r8"/>
      <FIELD attrname="TEILMENGE" fieldtype="r8"/>
      <FIELD attrname="MANUELLOK" fieldtype="i4"/>
      <FIELD attrname="NEUERWERT" fieldtype="i4"/>
      <FIELD attrname="MENGE2" fieldtype="r8"/>
      <FIELD attrname="MENGE3" fieldtype="r8"/>
      <FIELD attrname="MENGE4" fieldtype="r8"/>
      <FIELD attrname="SNRMENGE" fieldtype="r8"/>
      <FIELD attrname="SNRSTORNO" fieldtype="r8"/>
      <FIELD attrname="RABATT" fieldtype="r8"/>
      <FIELD attrname="ZU1" fieldtype="r8"/>
      <FIELD attrname="ZU2" fieldtype="r8"/>
      <FIELD attrname="EKPREIS" fieldtype="r8"/>
      <FIELD attrname="EP" fieldtype="r8"/>
      <FIELD attrname="UREP" fieldtype="r8"/>
      <FIELD attrname="GP" fieldtype="r8"/>
      <FIELD attrname="USTSATZ" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="USTCODEEKONTOEG" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="USTCODEEKONTONEG" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="USTCODEKKONTOINLAND" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="USTCODEKKONTOEG" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="USTCODEKKONTONEG" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="PEINHEIT" fieldtype="r8"/>
      <FIELD attrname="LEINHEIT" fieldtype="r8"/>
      <FIELD attrname="LAGART" fieldtype="i4"/>
      <FIELD attrname="VEINHEIT" fieldtype="r8"/>
      <FIELD attrname="LAGER" fieldtype="string" WIDTH="30"/>
      <FIELD attrname="ZWSUMME" fieldtype="r8"/>
      <FIELD attrname="MITGESRAB" fieldtype="i4"/>
      <FIELD attrname="MITSKONTO" fieldtype="i4"/>
      <FIELD attrname="FLD1C" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="FLD2C" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="FLD1N" fieldtype="r8"/>
      <FIELD attrname="FLD2N" fieldtype="r8"/>
      <FIELD attrname="FIXKOST1" fieldtype="r8"/>
      <FIELD attrname="FIXKOST2" fieldtype="r8"/>
      <FIELD attrname="FIXPROZ1" fieldtype="r8"/>
      <FIELD attrname="FIXPROZ2" fieldtype="r8"/>
      <FIELD attrname="USTEG" fieldtype="r8"/>
      <FIELD attrname="USTAUSLAND" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="ZUSTEXT1" fieldtype="string" WIDTH="4096"/>
      <FIELD attrname="ZUSTEXT2" fieldtype="string" WIDTH="4096"/>
      <FIELD attrname="RABATTGR" fieldtype="string" WIDTH="4"/>
      <FIELD attrname="SONPREIS" fieldtype="i4"/>
      <FIELD attrname="SONRABATT" fieldtype="i4"/>
      <FIELD attrname="SNRART" fieldtype="i4"/>
      <FIELD attrname="TERMIN" fieldtype="datetime"/>
      <FIELD attrname="ALTTEIL" fieldtype="i4"/>
      <FIELD attrname="STLISTPOSITION" fieldtype="i4"/>
      <FIELD attrname="UNTERPOSITION" fieldtype="i4"/>
      <FIELD attrname="HNUMMER" fieldtype="i4"/>
      <FIELD attrname="UNTERDRUECKEN" fieldtype="i4"/>
      <FIELD attrname="ARTSCH" fieldtype="string" WIDTH="1"/>
      <FIELD attrname="STLISTTEXT1" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="STLISTTEXT2" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="STLISTTEXT3" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="STLISTTEXT4" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="PROVART" fieldtype="string" WIDTH="1"/>
      <FIELD attrname="PROVGRUPPE" fieldtype="i4"/>
      <FIELD attrname="PROVWERT" fieldtype="r8"/>
      <FIELD attrname="PROVMANU" fieldtype="i4"/>
      <FIELD attrname="FORMELINR" fieldtype="i4"/>
      <FIELD attrname="DRUCKFORMEL" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="V1" fieldtype="r8"/>
      <FIELD attrname="V2" fieldtype="r8"/>
      <FIELD attrname="V3" fieldtype="r8"/>
      <FIELD attrname="V4" fieldtype="r8"/>
      <FIELD attrname="V5" fieldtype="r8"/>
      <FIELD attrname="V6" fieldtype="r8"/>
      <FIELD attrname="V7" fieldtype="r8"/>
      <FIELD attrname="V8" fieldtype="r8"/>
      <FIELD attrname="V9" fieldtype="r8"/>
      <FIELD attrname="V10" fieldtype="r8"/>
      <FIELD attrname="V11" fieldtype="r8"/>
      <FIELD attrname="V12" fieldtype="r8"/>
      <FIELD attrname="ARTNRSONPREIS" fieldtype="string" WIDTH="40"/>
      <FIELD attrname="REINGANGSDATUM" fieldtype="datetime"/>
      <FIELD attrname="RSNR" fieldtype="string" WIDTH="40"/>
      <FIELD attrname="RZUSTAND" fieldtype="string" WIDTH="128"/>
      <FIELD attrname="RZUBEHOER" fieldtype="string" WIDTH="128"/>
      <FIELD attrname="RGARANTIE" fieldtype="i4"/>
      <FIELD attrname="RREKLAMATION" fieldtype="i4"/>
      <FIELD attrname="RSTATUS" fieldtype="string" WIDTH="1"/>
      <FIELD attrname="RBEMERKUNG" fieldtype="string" WIDTH="4096"/>
      <FIELD attrname="RKOSTENPFLICHT" fieldtype="i4"/>
      <FIELD attrname="RFEHLER" fieldtype="string" WIDTH="128"/>
      <FIELD attrname="RTEXTKUNDE" fieldtype="string" WIDTH="4096"/>
      <FIELD attrname="RTEXTBERICHT" fieldtype="string" WIDTH="4096"/>
      <FIELD attrname="DPOSTEN" fieldtype="i4"/>
      <FIELD attrname="WARZUSTEXT" fieldtype="i4"/>
      <FIELD attrname="WARLEERZEILE" fieldtype="i4"/>
      <FIELD attrname="WARSEITENVORSCHUB" fieldtype="i4"/>
      <FIELD attrname="WARZWISCHENSUMME" fieldtype="i4"/>
      <FIELD attrname="REALMENGE" fieldtype="r8"/>
      <FIELD attrname="ZWSNUMMER" fieldtype="i4"/>
      <FIELD attrname="EKONTOINLAND" fieldtype="string" WIDTH="12"/>
      <FIELD attrname="EKONTOEG" fieldtype="string" WIDTH="12"/>
      <FIELD attrname="EKONTONEG" fieldtype="string" WIDTH="12"/>
      <FIELD attrname="KKONTOINLAND" fieldtype="string" WIDTH="12"/>
      <FIELD attrname="KKONTOEG" fieldtype="string" WIDTH="12"/>
      <FIELD attrname="KKONTONEG" fieldtype="string" WIDTH="12"/>
      <FIELD attrname="NRESERVIERT" fieldtype="r8"/>
      <FIELD attrname="NGEBUCHT" fieldtype="r8"/>
      <FIELD attrname="GESPEICHERT" fieldtype="i4"/>
      <FIELD attrname="KMENGE" fieldtype="r8"/>
      <FIELD attrname="GEINHEIT" fieldtype="string" WIDTH="10"/>
      <FIELD attrname="CGP" fieldtype="r8"/>
      <FIELD attrname="CMENGE" fieldtype="r8"/>
      <FIELD attrname="CBEZEICHNUNG" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="CNUMMER" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="INSZAEHLER" fieldtype="r8"/>
      <FIELD attrname="GRUNDPREISEINHEIT" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="GRUNDPREISFAKTOR" fieldtype="r8"/>
      <FIELD attrname="ABOSTUECKLISTE" fieldtype="i4"/>
      <FIELD attrname="MONTAGEART" fieldtype="i4"/>
      <FIELD attrname="LDATUM" fieldtype="datetime"/>
      <FIELD attrname="USTCODEEKONTOINLAND" fieldtype="string" WIDTH="50"/>
      <FIELD attrname="ROHERLOES" fieldtype="r8"/>
      <FIELD attrname="MARGE" fieldtype="r8"/>
      <FIELD attrname="BAKTIONSPREIS" fieldtype="i4"/>
      <FIELD attrname="VKSTSTELLE" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="VKSTTRAEGER" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="EKSTSTELLE" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="EKSTTRAEGER" fieldtype="string" WIDTH="20"/>
      <FIELD attrname="ALTERNATIVEEINHEIT" fieldtype="string" WIDTH="30"/>
      <FIELD attrname="ALTERNATIVEMENGE" fieldtype="r8"/>
      <FIELD attrname="ALTERNATIVEMENGEFAKTOR" fieldtype="r8"/>
      <FIELD attrname="ALTERNATIVEMENGEEP" fieldtype="r8"/>
      <FIELD attrname="FLD01" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD02" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD03" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD04" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD05" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD06" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD07" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD08" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD09" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD10" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD11" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLD12" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLDRE01" fieldtype="r8"/>
      <FIELD attrname="FLDRE02" fieldtype="r8"/>
      <FIELD attrname="FLDRE03" fieldtype="r8"/>
      <FIELD attrname="FLDRE04" fieldtype="r8"/>
      <FIELD attrname="FLDOPT01" fieldtype="i4"/>
      <FIELD attrname="FLDOPT02" fieldtype="i4"/>
      <FIELD attrname="FLDLIST01" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="FLDLIST02" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="ZUSTEXT3" fieldtype="string" WIDTH="4096"/>
      <FIELD attrname="SUCHBEGRIFF2" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="HERSTELLER" fieldtype="string" WIDTH="40"/>
      <FIELD attrname="HERSTELLERNUMMER" fieldtype="string" WIDTH="60"/>
      <FIELD attrname="LAENGE" fieldtype="r8"/>
      <FIELD attrname="BREITE" fieldtype="r8"/>
      <FIELD attrname="HOEHE" fieldtype="r8"/>
      <FIELD attrname="USTCODE_ARTIKEL" fieldtype="string" WIDTH="2"/>
      <FIELD attrname="VARIANTENMERKMAL1" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENMERKMAL2" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENMERKMAL3" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENMERKMAL4" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENMERKMAL5" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENAUSPRAEGUNG1" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENAUSPRAEGUNG2" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENAUSPRAEGUNG3" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENAUSPRAEGUNG4" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENAUSPRAEGUNG5" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="VARIANTENVORLAGE" fieldtype="string" WIDTH="255"/>
      <FIELD attrname="LAST_MODIFICATION_TIME" fieldtype="datetime"/>
    </FIELDS>

  </METADATA>

<!-- Objekt ROWDATA enthaelt pro Datensatz ein ROW-Objekt mit den oben definierten Feldern  -->  

  <ROWDATA>
    <ROW 
      SG_AUF_FSCHRIFT_1_FK = "44"
      POSINR = "1"
      SG_AUF_FPOS_PK = "63"
      SG_AUF_FSCHRIFT_2_FK = "0"
      SG_AUF_FPOS_1_FK = ""
      SG_AUF_FPOS_2_FK = ""
      ALTERFART = ""
      POSART = "PO"
      POSNR = "#001"
      SNRPOSINR = ""
      SG_ADRESSEN_FK = "2"
      ARTNR = "EL-10000"
      SG_AUF_ARTIKEL_FK = "1"
      BESTNR = ""
      SUCHBEGRIFF = "Unterputzsteckdose Ariane"
      WG = "Artikel (Standard)"
      EINHEIT = "Stück"
      GEWICHT = "0"
      MENGE = "5"
      AUFTRAG = ""
      LIEFERUNG = ""
      RECHNUNG = ""
      GUTSCHRIFT = ""
      STORNO = ""
      BESTELLT = ""
      BESTORNO = ""
      EINGANG = ""
      TEILMENGE = ""
      MANUELLOK = ""
      NEUERWERT = ""
      MENGE2 = "1"
      MENGE3 = "1"
      MENGE4 = "1"
      SNRMENGE = ""
      SNRSTORNO = ""
      RABATT = "5"
      ZU1 = ""
      ZU2 = ""
      EKPREIS = "3,85"
      EP = "12,85"
      UREP = "12,85"
      GP = "61,04"
      USTSATZ = "01"
      USTCODEEKONTOEG = ""
      USTCODEEKONTONEG = ""
      USTCODEKKONTOINLAND = ""
      USTCODEKKONTOEG = ""
      USTCODEKKONTONEG = ""
      PEINHEIT = "1"
      LEINHEIT = "1"
      LAGART = "1"
      VEINHEIT = "1"
      LAGER = "Hauptlager"
      ZWSUMME = "0"
      MITGESRAB = "0"
      MITSKONTO = "0"
      FLD1C = ""
      FLD2C = ""
      FLD1N = ""
      FLD2N = ""
      FIXKOST1 = "0"
      FIXKOST2 = "0"
      FIXPROZ1 = ""
      FIXPROZ2 = ""
      USTEG = "0"
      USTAUSLAND = "00"
      ZUSTEXT1 = ""
      ZUSTEXT2 = ""
      RABATTGR = ""
      SONPREIS = "0"
      SONRABATT = ""
      SNRART = "0"
      TERMIN = ""
      ALTTEIL = "0"
      STLISTPOSITION = ""
      UNTERPOSITION = ""
      HNUMMER = ""
      UNTERDRUECKEN = ""
      ARTSCH = ""
      STLISTTEXT1 = ""
      STLISTTEXT2 = ""
      STLISTTEXT3 = ""
      STLISTTEXT4 = ""
      PROVART = ""
      PROVGRUPPE = "0"
      PROVWERT = ""
      PROVMANU = "0"
      FORMELINR = "0"
      DRUCKFORMEL = ""
      V1 = ""
      V2 = ""
      V3 = ""
      V4 = ""
      V5 = ""
      V6 = ""
      V7 = ""
      V8 = ""
      V9 = ""
      V10 = ""
      V11 = ""
      V12 = ""
      ARTNRSONPREIS = ""
      REINGANGSDATUM = ""
      RSNR = ""
      RZUSTAND = ""
      RZUBEHOER = ""
      RGARANTIE = "0"
      RREKLAMATION = "0"
      RSTATUS = ""
      RBEMERKUNG = ""
      RKOSTENPFLICHT = "0"
      RFEHLER = ""
      RTEXTKUNDE = ""
      RTEXTBERICHT = ""
      DPOSTEN = "0"
      WARZUSTEXT = ""
      WARLEERZEILE = ""
      WARSEITENVORSCHUB = ""
      WARZWISCHENSUMME = ""
      REALMENGE = ""
      ZWSNUMMER = ""
      EKONTOINLAND = "8400"
      EKONTOEG = ""
      EKONTONEG = ""
      KKONTOINLAND = ""
      KKONTOEG = ""
      KKONTONEG = ""
      NRESERVIERT = "5"
      NGEBUCHT = "0"
      GESPEICHERT = "1"
      KMENGE = ""
      GEINHEIT = "Kilogramm"
      CGP = ""
      CMENGE = ""
      CBEZEICHNUNG = ""
      CNUMMER = ""
      INSZAEHLER = "10000"
      GRUNDPREISEINHEIT = ""
      GRUNDPREISFAKTOR = "0"
      ABOSTUECKLISTE = "0"
      MONTAGEART = ""
      LDATUM = ""
      USTCODEEKONTOINLAND = ""
      ROHERLOES = "41,79"
      MARGE = "68,4633"
      BAKTIONSPREIS = "0"
      VKSTSTELLE = ""
      VKSTTRAEGER = ""
      EKSTSTELLE = ""
      EKSTTRAEGER = ""
      ALTERNATIVEEINHEIT = "Stück"
      ALTERNATIVEMENGE = "5"
      ALTERNATIVEMENGEFAKTOR = "1000000"
      ALTERNATIVEMENGEEP = "12,85"
      FLD01 = ""
      FLD02 = ""
      FLD03 = ""
      FLD04 = ""
      FLD05 = ""
      FLD06 = ""
      FLD07 = ""
      FLD08 = ""
      FLD09 = ""
      FLD10 = ""
      FLD11 = ""
      FLD12 = ""
      FLDRE01 = "0"
      FLDRE02 = "0"
      FLDRE03 = "0"
      FLDRE04 = "0"
      FLDOPT01 = "0"
      FLDOPT02 = "0"
      FLDLIST01 = ""
      FLDLIST02 = ""
      ZUSTEXT3 = ""
      SUCHBEGRIFF2 = ""
      HERSTELLER = ""
      HERSTELLERNUMMER = ""
      LAENGE = "0"
      BREITE = "0"
      HOEHE = "0"
      USTCODE_ARTIKEL = "01"
      VARIANTENMERKMAL1 = ""
      VARIANTENMERKMAL2 = ""
      VARIANTENMERKMAL3 = ""
      VARIANTENMERKMAL4 = ""
      VARIANTENMERKMAL5 = ""
      VARIANTENAUSPRAEGUNG1 = ""
      VARIANTENAUSPRAEGUNG2 = ""
      VARIANTENAUSPRAEGUNG3 = ""
      VARIANTENAUSPRAEGUNG4 = ""
      VARIANTENAUSPRAEGUNG5 = ""
      VARIANTENVORLAGE = ""
      LAST_MODIFICATION_TIME = ""
    />
    <ROW 
      SG_AUF_FSCHRIFT_1_FK = "44"
      POSINR = "2"
      SG_AUF_FPOS_PK = "64"
      SG_AUF_FSCHRIFT_2_FK = "0"
      SG_AUF_FPOS_1_FK = ""
      SG_AUF_FPOS_2_FK = ""
      ALTERFART = ""
      POSART = "PO"
      POSNR = "#002"
      SNRPOSINR = ""
      SG_ADRESSEN_FK = "2"
      ARTNR = "KLS-3001"
      SG_AUF_ARTIKEL_FK = "11"
      BESTNR = ""
      SUCHBEGRIFF = "Campingaxt X5 mit Canvastasche"
      WG = "Artikel (Standard)"
      EINHEIT = "Stück"
      GEWICHT = "0"
      MENGE = "20"
      AUFTRAG = ""
      LIEFERUNG = ""
      RECHNUNG = ""
      GUTSCHRIFT = ""
      STORNO = ""
      BESTELLT = ""
      BESTORNO = ""
      EINGANG = ""
      TEILMENGE = ""
      MANUELLOK = ""
      NEUERWERT = ""
      MENGE2 = "1"
      MENGE3 = "1"
      MENGE4 = "1"
      SNRMENGE = ""
      SNRSTORNO = ""
      RABATT = "15"
      ZU1 = ""
      ZU2 = ""
      EKPREIS = "9,36"
      EP = "27,01"
      UREP = "25,56"
      GP = "459,17"
      USTSATZ = "01"
      USTCODEEKONTOEG = ""
      USTCODEEKONTONEG = ""
      USTCODEKKONTOINLAND = ""
      USTCODEKKONTOEG = ""
      USTCODEKKONTONEG = ""
      PEINHEIT = "1"
      LEINHEIT = "1"
      LAGART = "1"
      VEINHEIT = "1"
      LAGER = "Hauptlager"
      ZWSUMME = "0"
      MITGESRAB = "0"
      MITSKONTO = "0"
      FLD1C = ""
      FLD2C = ""
      FLD1N = ""
      FLD2N = ""
      FIXKOST1 = "0"
      FIXKOST2 = "0"
      FIXPROZ1 = ""
      FIXPROZ2 = ""
      USTEG = "0"
      USTAUSLAND = "00"
      ZUSTEXT1 = ""
      ZUSTEXT2 = ""
      RABATTGR = ""
      SONPREIS = "0"
      SONRABATT = ""
      SNRART = "0"
      TERMIN = ""
      ALTTEIL = "0"
      STLISTPOSITION = ""
      UNTERPOSITION = ""
      HNUMMER = ""
      UNTERDRUECKEN = ""
      ARTSCH = ""
      STLISTTEXT1 = ""
      STLISTTEXT2 = ""
      STLISTTEXT3 = ""
      STLISTTEXT4 = ""
      PROVART = ""
      PROVGRUPPE = "0"
      PROVWERT = ""
      PROVMANU = "0"
      FORMELINR = "0"
      DRUCKFORMEL = ""
      V1 = ""
      V2 = ""
      V3 = ""
      V4 = ""
      V5 = ""
      V6 = ""
      V7 = ""
      V8 = ""
      V9 = ""
      V10 = ""
      V11 = ""
      V12 = ""
      ARTNRSONPREIS = ""
      REINGANGSDATUM = ""
      RSNR = ""
      RZUSTAND = ""
      RZUBEHOER = ""
      RGARANTIE = "0"
      RREKLAMATION = "0"
      RSTATUS = ""
      RBEMERKUNG = ""
      RKOSTENPFLICHT = "0"
      RFEHLER = ""
      RTEXTKUNDE = ""
      RTEXTBERICHT = ""
      DPOSTEN = "0"
      WARZUSTEXT = ""
      WARLEERZEILE = ""
      WARSEITENVORSCHUB = ""
      WARZWISCHENSUMME = ""
      REALMENGE = ""
      ZWSNUMMER = ""
      EKONTOINLAND = "8400"
      EKONTOEG = ""
      EKONTONEG = ""
      KKONTOINLAND = ""
      KKONTOEG = ""
      KKONTONEG = ""
      NRESERVIERT = "20"
      NGEBUCHT = "0"
      GESPEICHERT = "1"
      KMENGE = ""
      GEINHEIT = "Kilogramm"
      CGP = ""
      CMENGE = ""
      CBEZEICHNUNG = ""
      CNUMMER = ""
      INSZAEHLER = "20000"
      GRUNDPREISEINHEIT = ""
      GRUNDPREISFAKTOR = "0"
      ABOSTUECKLISTE = "0"
      MONTAGEART = ""
      LDATUM = ""
      USTCODEEKONTOINLAND = ""
      ROHERLOES = "271,97"
      MARGE = "59,2308"
      BAKTIONSPREIS = "0"
      VKSTSTELLE = ""
      VKSTTRAEGER = ""
      EKSTSTELLE = ""
      EKSTTRAEGER = ""
      ALTERNATIVEEINHEIT = "Stück"
      ALTERNATIVEMENGE = "20"
      ALTERNATIVEMENGEFAKTOR = "1000000"
      ALTERNATIVEMENGEEP = "27,01"
      FLD01 = ""
      FLD02 = ""
      FLD03 = ""
      FLD04 = ""
      FLD05 = ""
      FLD06 = ""
      FLD07 = ""
      FLD08 = ""
      FLD09 = ""
      FLD10 = ""
      FLD11 = ""
      FLD12 = "B1"
      FLDRE01 = "0"
      FLDRE02 = "0"
      FLDRE03 = "0"
      FLDRE04 = "0"
      FLDOPT01 = "0"
      FLDOPT02 = "0"
      FLDLIST01 = ""
      FLDLIST02 = ""
      ZUSTEXT3 = ""
      SUCHBEGRIFF2 = ""
      HERSTELLER = ""
      HERSTELLERNUMMER = ""
      LAENGE = "0"
      BREITE = "0"
      HOEHE = "0"
      USTCODE_ARTIKEL = "01"
      VARIANTENMERKMAL1 = ""
      VARIANTENMERKMAL2 = ""
      VARIANTENMERKMAL3 = ""
      VARIANTENMERKMAL4 = ""
      VARIANTENMERKMAL5 = ""
      VARIANTENAUSPRAEGUNG1 = ""
      VARIANTENAUSPRAEGUNG2 = ""
      VARIANTENAUSPRAEGUNG3 = ""
      VARIANTENAUSPRAEGUNG4 = ""
      VARIANTENAUSPRAEGUNG5 = ""
      VARIANTENVORLAGE = ""
      LAST_MODIFICATION_TIME = ""
    />
  </ROWDATA>
</DATAPACKET>
 
Hi

ich sehe da kein Problem. Das ist letztendlich nur eine "normale" XML-Datei, die eben eine Tabelle auf eine bestimmte Art darstellt: Zuerst Infos zu den Spalten (Namen, Datentyp usw.), und dann ein paar Tabellenzeilen.

Da die Spalten, die man für das Warenwirtschaftssystem braucht, wohl immer gleich sein werden, kann man das in PHP einfach fix reinprogrammieren.
 

Neue Beiträge

Zurück