Site map Home News Download Order Contacts Service  

Home
News
Download
Order
Contacts
Service

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

WhiteTown Wizards
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
PDB (Palm DataBase) to DBF

Subscribe to our mailing list:

Reseller oportunities
Affiliates
Publications

Other stuff

Google

WhiteTown.com
WWW
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
ZIP File Description Version Size
dbf2xml.zip DBF to XML Converter 2.00 650Kb

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.

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

0.00536513328552 , | Privacy policy | Copyright © 1996-2008, WhiteTown Software