>>Hi,
>>
>>Is it possible to convert/import an XML file to a DBF file without "knowing" anything about the XML file structure?
>>I have a log.xml file that I can see with notepad. But I would rather see it in a DBF format. What VFP code (if exists) I would use to convert this XML to any DBF format (for easier reading)?
>>
>>TIA
>
>XMLTOCURSOR() ? - but it does require a pre-existing cursor with matching fields so probably not what you want.....
Just to add. Since the XML has many attributes (I think I understand it correctly) I am at loss of how to create a cursor.
Here is a segment of the XML file:
<log4j:event logger="WorkOrdersApi.Filters.RequestLoggerFilter" timestamp="1475666070747" level="DEBUG"
thread="7"><log4j:message>Request recieved: Uri=/debug/version</log4j:message>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham