XML do JSON, XML, CSV, PDF za pomocą wiersza poleceń
Windows
2000/2003/Vista
7/8/10/11
and
2012/2016/2019/2022 Server
and
Docker/Citrix/Wine
Jeśli szukasz przetwornika XML pracującego w wierszu poleceń, nie szukaj dalej. Total XML ConverterX pomoże Ci sformatować pliki XML lub ułatwić wymianę danych między systemami. Wspierany przez niemal 10-letnie doświadczenie w różnego rodzaju przetwornikach, CoolUtils gwarantuje jakość produktu. Pobierz darmową wersję próbną teraz i przetestuj ją przez 30 dni.
(zawiera 30-dniowy DARMOWY okres próbny)
(tylko $750.00)
string src="C:\\test\\Source.XML";
string dest="C:\\test\\Dest.PDF";
XMLConverterX Cnv = new XMLConverterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\XML.log");
MessageBox.Show("Konwersja zakończona!");
dim C
Set C=CreateObject("XMLConverter.XMLConverterX")
C.Convert "c:\source.XML", "c:\dest.JSON", "-cJSON -log c:\XML.log"
set C = nothing
dim C
Set C=CreateObject("XMLConverter.XMLConverterX")
Response.Clear
Response.AddHeader "Content-Type", "binary/octet-stream"
Rresponse.AddHeader "Content-Disposition", "attachment; filename=test.JSON"
Response.BinaryWrite c.ConvertToStream("C:\www\ASP\Source.XML", "C:\www\ASP", "-cJSON -log c:\XML.log")
set C = nothing
$src="C:\test.XML";
$dest="C:\test.XLS";
if (file_exists($dest)) unlink($dest);
$c= new COM("PDFConverter.PDFConverterX");
$c->convert($src,$dest, "-c XLS -log c:\pdf.log");
if (file_exists($dest)) echo "OK"; else echo "błąd:".$c->ErrorMessage;
require 'win32ole'
c = WIN32OLE.new('XMLConverter.XMLConverterX')
src="C:\\test\\test.XML";
dest="C:\\test\\test.pdf";
c.convert(src,dest, "-c PDF -log c:\\test\\XML.log");
if not File.exist?(dest)
puts c.ErrorMessage
end
import win32com.client
import os.path
c = win32com.client.Dispatch("XMLConverter.XMLConverterX")
src="C:\\test\\test.XML";
dest="C:\\test\\test.pdf";
c.convert(src, dest, "-c PDF -log c:\\test\\XML.log");
if not os.path.exists(file_path):
print(c.ErrorMessage)
uses Dialogs, Vcl.OleAuto;
var
c: OleVariant;
begin
c:=CreateOleObject('XMLConverter.XMLConverterX');
C.Convert('c:\test\source.XML', 'c:\test\dest.pdf', '-cPDF -log c:\test\XML.log');
IF c.ErrorMessage<> Then
ShowMessage(c.ErrorMessage);
end;
$src="C:\test.XML";
$dest="C:\test.XLS";
if (file_exists($dest)) unlink($dest);
$c= new COM("PDFConverter.PDFConverterX");
$c->convert($src,$dest, "-c XLS -log c:\pdf.log");
if (file_exists($dest)) echo "OK"; else echo "błąd:".$c->ErrorMessage;
use Win32::OLE; my $src="C:\\test\\test.XML"; my $dest="C:\\test\\test.pdf"; my $c = CreateObject Win32::OLE 'XMLConverter.XMLConverterX'; $c->convert($src,$dest, "-c pdf -log c:\\test\\XML.log"); print $c->ErrorMessage if -e $dest;
#includestatic const CLSID CLSID_XMLConverterX = {0x6B411E7E, 0x9503,0x4793,{0xA2, 0x87, 0x1F, 0x3B, 0xA8, 0x78, 0xB9, 0x1C}}; static const IID IID_IXMLConverterX = {0xEF633BED, 0xC414,0x49B0,{0x91, 0xFB, 0xC3, 0x9C, 0x3F, 0xE0, 0x08, 0x0D}}; #undef INTERFACE #define INTERFACE IXMLConverterX DECLARE_INTERFACE_(IXMLConverterX, IDispatch) { STDMETHOD(QueryInterface)(THIS_ REFIID, PVOID*) PURE; STDMETHOD(Convert)(THIS_ LPCTSTR, LPCTSTR, LPCTSTR) PURE; STDMETHOD(About)(THIS) PURE; //const SourceFile: WideString; const DestFile: WideString; const Params: WideString; safecall; }; typedef HRESULT (__stdcall *hDllGetClassObjectFunc) (REFCLSID, REFIID, void **); int main () { HRESULT hr; if (CoInitialize(NULL)) { printf ("Błąd w CoInitialize."); return -1; } LPCTSTR lpFileName = "XMLConverter.dll"; HMODULE hModule; hModule = LoadLibrary (lpFileName); printf ("hModule: %d\n", hModule); if (hModule == 0) { printf ("Błąd w LoadLibrary."); return -1; } hDllGetClassObjectFunc hDllGetClassObject = NULL; hDllGetClassObject = (hDllGetClassObjectFunc) GetProcAddress (hModule, "DllGetClassObject"); if (hDllGetClassObject == 0) { printf ("Błąd w GetProcAddress."); return -1; } IClassFactory *pCF = NULL; hr = hDllGetClassObject (&CLSID_XMLConverterX, &IID_IClassFactory, (void **)&pCF); /* Nie można załadować z różnym ID */ printf ("hr hDllGetClassObject: %d\n", hr); if (!SUCCEEDED (hr)) { printf ("Błąd w hDllGetClassObject."); return -1; } IXMLConverterX *pIN; hr = pCF->lpVtbl->CreateInstance (pCF, 0, &IID_IXMLConverterX, (void **)&pIN); printf ("hr CreateInstance: %d\n", hr); if (!SUCCEEDED (hr)) { printf ("Błąd w hDllGetClassObject."); return -1; } hr = pCF->lpVtbl->Release (pCF); printf ("hr Release: %d\n", hr); if (!SUCCEEDED (hr)) { printf ("Błąd w Release."); return -1; } hr = pIN->lpVtbl->About (pIN); printf ("hr About: %d\n", hr); if (!SUCCEEDED (hr)) { printf ("Błąd w About."); return -1; } hr = pIN->lpVtbl->Convert (pIN, "test.pdf", "test.html","-cHTML"); printf ("hr Convert: %d\n", hr); if (!SUCCEEDED (hr)) { printf ("Błąd w Convert."); return -1; } return 0; }
"Total XML ConverterX wydaje się być idealny dla mojego użytku, choć używamy go tylko do konwersji starych plików .xml na inne formaty."
"Wybraliśmy program ze względu na zdolność do przetwarzania plików XSLT. Mieliśmy ponad 6000 XMLS i konwerter wykonał zadanie w mniej niż godzinę! Dziękujemy!"
Jean Robitaille | Sparktown Christian School
Development teams that convert XML to CSV, JSON, and PDF on servers via ActiveX or command line
Power server-side XML-to-CSV and XML-to-JSON tools
Web developers integrate Total XML ConverterX via ActiveX into ASP or PHP applications. Users upload XML files through a browser, the server converts them to CSV, JSON, or PDF silently with no pop-up messages, and returns the result. Sample code files are included to speed up integration.
Transform XML feeds into formats other systems require
Enterprise IT teams use Total XML ConverterX to bridge systems that speak different data languages. Convert XML exports from one platform into CSV for spreadsheet-based tools, JSON for web APIs, or PDF for human review — all automated via command line with original timestamps preserved.
Batch-convert XML data feeds in scheduled pipelines
Data engineering teams add Total XML ConverterX as a conversion step in ETL workflows. Nightly XML dumps from databases, partner APIs, or IoT systems are converted to CSV for analytics platforms or JSON for data lakes. Folder structure is preserved and errors are logged silently for monitoring.
Format or minify XML documents on the server
Content platforms and publishing systems use Total XML ConverterX to format raw XML into human-readable form for editors, or minify verbose XML to reduce storage and transfer size. Process sophisticated XML structures in batch while keeping the original document hierarchy intact.
Convert XML submissions to PDF reports for auditors
Regulated industries receive or generate XML data for compliance filings. Total XML ConverterX converts these XML files to PDF reports for auditor review or to CSV for import into compliance databases — running unattended on servers with no GUI interruptions and full error logging.
Zaktualizowano Wed, 24 Dec 2025
(tylko $750.00)
Pobierz wersję próbną i konwertuj pliki w kilka minut.
Nie jest wymagana karta kredytowa ani e-mail.