WhiteTown Software, the official website.
Site map Home News Download Order Contacts Service   RU

CDBF for Windows
CDBF for Windows (console)
CDBF for DOS
CDBF for Linux
CDBFlite
CDBFapi
DBF Script
CDBFinfo
CDBFShell
CDBFview

Online Database Converter
New!

Database Converters
DBF to CSV
DBF to MDB (Access)
DBF to XLS (Excel)
DBF to HTML
DBF to SQL
DBF to XML
DBF to PDB (Palm DataBase)
DBF to DBF
MDB (Access) to DBF
XLS (Excel) to DBF
CSV to DBF
PDB (Palm DataBase) to DBF
DBF Converters' Shell

DBF to XML Converter

 
Get it from CNET Download.com!
DBF to XML Converter allows you to convert your dbf files to XML (Extensible Markup Language) format.

The Extensible Markup Language (XML) is a general-purpose specification for creating custom markup languages. It is classified as an extensible language, because it allows the user to define the mark-up elements. 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.
DBF to XML Converter supports dBase III, dBase IV, FoxPro, VFP and dBase Level 7 formats. It allows you to export a structure or/and information.

The program supports command line interface. So, you can run it with necessary parameters in a batch mode from the command line or from Windows scheduler without human beings.
Besides, the Site license includes a DLL which you can use from your own application.

Downloads
ZIP File Description Version Size
dbf2xml.zip DBF to XML Converter 2.25 1100Kb

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 Wizard

DBF to XML. Command line description

Common parameters

/OVERWRITE=1Overwrite existing file.
/OVERWRITE=0Do not overwrite existing file. (Append to existing file).
/SKIPDEL=1Skip records marked as deleted.
/SKIPDEL=0Do not skip records marked as deleted.
/ASISCodepage as is.
/ANSIConvert to ANSI codepage.
/OEMConvert to OEM codepage.
/OPEN=1Open the output file after conversion.
/OPEN=0Do not open the output file after conversion.
/BATCHBatch mode. Do not ask any questions (if possible).
/WAITDo not close the program at the end. (Wait on the finish page).
/LOGCreate a log file in a common repository for application-specific data.
A typical path is C:\Documents and Settings\username\Application Data.
/FILTER=conditionIt allows you to convert records which satisfy the condition.

XML specific parameters

Drive:\Path\FileName.dbfSource DBF file
Drive:\Path\FileName.xmlTarget XML file
/STRUCTURE=1Export structure of the table.
/STRUCTURE=0Do not export structure of the table.
/INFORMATION=1Export information from the table.
/INFORMATION=0Do not export information from the table.
/REMTRAIL=1Remove trailing spaces in Character and Memo fields.
/REMTRAIL=0Do not remove trailing spaces in Character and Memo fields.
/REMCRLF=1Remove CR+LF in Memo fields.
/REMCRLF=0Do not remove CR+LF in Memo fields.
/DELMARK=1 Include deletion mark to the output file.
/DELMARK=0 Do not include deletion mark to the output file.

DBF to XML Converter DLL

////////////////////// sample1.cpp ////////////////////////////
//parameters in the command line
//
//sample1.exe source.dbf target.xml ...
//

#include <windows.h>

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 <windows.h>

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 ////////////////////////////

0.000375986099243 | Privacy policy | Copyright © 1996-2010, WhiteTown Software