contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Excel to XML conversion  
Related Concepts  

Introduction

This sample describes a context translation program designed to convert non-XML files to XML; in particular, it converts the content of an Excel spreadsheet (XLS) to XML.

The conversion is done in two steps:

The first step in any conversion is to analyze the structure of the input file. You can do this either manually (by "eyeballing" the input file) or by designing an OmniMark program to perform this task. Since the input file in this sample is very simple, a manual approach makes the most sense. The following figure shows the original XLS spreadsheet:

Fig 1. Excel spreadsheet source file

The sample spreadsheet has the following basic structure:

The resulting XML file includes main elements that reflect this structure:



Sample Files

Excel to XML conversions: sample program
XLS to XML conversions: DTD
XLS to XML conversions: tab-delimited text input file
XLS to XML conversions: XML output file

Related Concepts  
   Context-translations: using XML/SGML as an intermediate form
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:42 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.