|
|
 |
DBF to XML Converter
DBF to XML Converter allows you to convert your dbf files to XML (Extensible Markup Language) format.
XML is a universal data format. It is convenient for a migration of information to a new platform because
it is simple and understandable for many other applications.
The program supports dBase III, dBase IV, FoxPro, VFP and dBase Level 7 formats.
The program supports command line interface.
Besides, the Site license includes a DLL which you can use from your own application.
|
Downloads
Ordering
|
| DBF to XML Converter |
Price |
Personal license
Allows you to use the program by one person only (at work or at home or both). |
$29.95 |
Business license
Allows you to use the program in business environment. |
$99 |
Site license
Allows you to use the program in business environment and besides it includes a DLL which you can use from your own application. |
$199 |
|
ScreenShot

DBF to XML. Command line description
Common parameters
| /OVERWRITE=1 | Overwrite existing file. |
| /OVERWRITE=0 | Do not overwrite existing file. (Append to existing file). |
| /SKIPDEL=1 | Skip records marked as deleted. |
| /SKIPDEL=0 | Do not skip records marked as deleted. |
| /ASIS | Codepage as is. |
| /ANSI | Convert to ANSI codepage. |
| /OEM | Convert to OEM codepage. |
| /OPEN=1 | Open the output file after conversion. |
| /OPEN=0 | Do not open the output file after conversion. |
| /BATCH | Batch mode. Do not ask any questions (if possible). |
| /WAIT | Do not close the program at the end. (Wait on the finish page). |
| /LOG | Create a log file in a common repository for application-specific data. A typical path is C:\Documents and Settings\username\Application Data. |
| /FILTER=condition | It allows you to convert records which satisfy the condition. |
XML specific parameters
| Drive:\Path\FileName.dbf | Source DBF file |
| Drive:\Path\FileName.xml | Target XML file |
| /STRUCTURE=1 | Export structure of the table. |
| /STRUCTURE=0 | Do not export structure of the table. |
| /INFORMATION=1 | Export information from the table. |
| /INFORMATION=0 | Do not export information from the table. |
| /REMTRAIL=1 | Remove trailing spaces in Character and Memo fields. |
| /REMTRAIL=0 | Do not remove trailing spaces in Character and Memo fields. |
| /REMCRLF=1 | Remove CR+LF in Memo fields. |
| /REMCRLF=0 | Do not remove CR+LF in Memo fields. |
DBF to XML Converter DLL
////////////////////// sample1.cpp ////////////////////////////
//parameters in the command line
//
//sample1.exe source.dbf target.xml ...
//
#include
int __declspec(dllexport) __stdcall DBFtoXML_Converter(HWND hwnd, int argc, char *argv[]);
int
main(int argc, char *argv[])
{
return DBFtoXML_Converter(NULL, argc, argv);
}
//
////////////////////// sample1.cpp ////////////////////////////
|
|
////////////////////// sample2.cpp ////////////////////////////
//parameters in the source code
//
//sample2.exe
//
#include
int __declspec(dllexport) __stdcall DBFtoXML_Converter(HWND hwnd, int argc, char *argv[]);
int
main()
{
int n=0;
char *params[10];
params[n++]=strdup(__argv[0]);
params[n++]=strdup("source.dbf");
params[n++]=strdup("target.xml");
params[n++]=strdup("/ansi");
params[n++]=strdup("/overwrite=1");
return DBFtoXML_Converter(NULL, n, params);
}
//
////////////////////// sample2.cpp ////////////////////////////
|
|