XML Laboratory bridges a gap between vast amount of non-XML semi-structured data and new open source document file format - XML.
|
Click
here to download |
This application demonstrates various possibilities, which programmer can rely on, when dealing with non-XML data sources.
Software is build upon various text parsers which can be supplied separately for integration into customer application.
XML Laboratory has the following text parsers:
parser for fixed width text
parser for comma-delimited text
parser for text files with TOC (created from Winword via Save As...)
parser for HTML files
parser for RTF files
XML Laboratory provides convenient interface for viewing source files and corresponding results of XML conversion. You will need to have XMLMATE installed to view or edit conversion results .
XML Laboratory has configuration parameters which controls creation of XML data.
To include XML Laboratory into your Visual Prolog project, please include the following declarations:
include
"..\\common\\XMLDocument\\doc_to_xml_document.dom"
include "..\\common\\xmldocument\\rtf_processing_options.dom"
include "..\\common\\XMLDocument\\xmllab_export.pre"
Note: you need to have VP Studio installed before compiling this project.
C/C++ and Delphi sample projects will be provided later.
XML Laboratory DLL has the following easy to use functional calls:
Use inside Visual Prolog
global predicates
determ
xmldocument_init - language
stdcall
determ xmldocument_delete
- language stdcall
determ xmllab_write_callback(XMLLAB_CALLBACK) - language
stdcall
determ STRING rtf_to_xml(STRING FILENAME,RTF_PROCESSING_OPTION)
- (i,i) language
stdcall
determ STRING csv_to_xml(STRING FILENAME,RTF_PROCESSING_OPTION)
- (i,i) language
stdcall
determ STRING fixed_to_xml(STRING FILENAME,RTF_PROCESSING_OPTION)
- (i,i) language
stdcall
determ STRING text_toc_xml(STRING FILENAME,RTF_PROCESSING_OPTION)
- (i,i) language
stdcall
ifdef use_doc
determ STRING term_to_xml(DOC, STRING FILENAME,RTF_PROCESSING_OPTION)
- (i,i,i) language
stdcall
enddef
determ STRING html_to_xml(STRING
FILENAME,RTF_PROCESSING_OPTION) - (i,i) language
stdcall
Copyright 1998-2000 EDMGROUP (Australia)
Last Updated: May 22, 2003