Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with xml
Message
From
13/02/2007 06:55:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/02/2007 06:40:55
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01194974
Message ID:
01195022
Views:
12
>Hello Cetin
>This is the file content:
>
><Auftrag>
>  <ReferenznummerCB>2003667011</ReferenznummerCB>
>  <DatumCB>01.12.2006 07:40:00</DatumCB>
>  <CallAgentCB>orgaline</CallAgentCB>
>  <MailCallAgent>orgaline@commerzbank.com</MailCallAgent>
>  <FonCallAgent>+49 1802 224495</FonCallAgent>
>  <Customer>Mras, Nicole</Customer>
>  <MailCustomer>NICOLE.MRAS@Commerzbank.com</MailCustomer>
>  <FonCustomer>+49 361 6787-651</FonCustomer>
>  <IncidentStatus>Auftrag</IncidentStatus>
>  <Incident>im kopierraum muesst bitte eine teppichreinigung durchgefuehrt werden.</Incident>
>  <WE>1132</WE>
>  <Anschrift>Juri-Gagarin-Ring 86, 99084 Erfurt</Anschrift>
>  <Raum>eg</Raum>
>  <Prioritaet>4</Prioritaet>
>  <DatumPrio>08.12.2006 07:40:00</DatumPrio>
>  <VIP>0</VIP>
></Auftrag>
>
>
>Looks quite normal !?
>No idear how to write my own parser ??
>Nevertheless: Thank you
>Best regards
>Albert

Albert,
To be more clear, VFP expects an XML like (sample with 2 records):
<tablename>
  <row>
     <field1>data here for first field</field1>
     <field2>data here for second field</field2>
  </row>
  <row>
     <field1>data here for first field</field1>
     <field2>data here for second field</field2>
  </row>
</tablename>
In your case Auftrag was 'row'.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform