XML Converter manual |
|
Welcome to XML Converter
manual
|
XML Converter is the Windows based graphical transformation engine for creating XML documents from your database. It allows organizations to quickly and easily share information, captured within corporate data, with anyone in the world by utilizing established XML document definitions. Using this software, enterprises can share data with customers, suppliers or partners as well as distribute data across business units. XML Converter is great for producing fast, static, simple, data-driven XML documents. |
Just choose your data source, select transformation methods, and generate the XML. This tool quickly and easily converts source data from Microsoft Access .mdb databases, Microsoft Excel .xls books, MS Word .doc document or text .txt file. XML Converter supports major databases such as Oracle, MySQL and MS SQL Server. In the future it will handle also any ODBC database. Once you've selected a table, you can control the output by choosing between several XML writing and mapping transformation methods. The XML Converter allows you to browse source data and make analysis of data source structure. This software has database navigation features that provide the ability to view your entire source file. It allows users to see source files that they are opening for converting. Also after converting you can review and edit destination XML document. |
XML Converter takes all the guesswork out of designing and authoring database publishing projects from start to finish. You don’t need to know any Extensible Markup Language (XML) or Extensible Style Language (XSL). Besides creating an XML document the XML Converter will allow you to generate special XSL document, which will accompany your final XML document with a template XSL style-sheet. Both of these files can be used for your further needs such as: web-applications, reports, presentations, and so on. The elegant tabbed design assists you through the transformation process. |
Authoring requirements |
XML Converter is designed for both 32-bit and 64-bit operating systems and works under the Microsoft® .NET Framework. The XML Converter runs on: Software Requirements: To author with XML Converter, your system should be equipped with the following: Pentium 90 MHz (minimum) or faster (recommended) 32 MB RAM (minimum) or more (96 MB or more recommended) 50 MB free disk space (minimum) or more |
Licensing details |
The following License
Agreement is for a registered copy of XML Converter only. |
License Agreement |
Before installing RS XML Converter please read carefully terms and conditions of this agreement. You will express your consent to be bound by the terms of this Agreement by obtaining or opening Software media package. If you do not agree to all terms of this agreement do not use Software and destroy all copies of Software from your computer.
Grant of license:
Rustemsoft (the Developer) grants you (the Customer) a worldwide, non-exclusive, non-transferable, personal license to install and use the accompanying XML Converter (the Software) in the manner provided herein.
1. Software is licensed, not sold. Software is protected by copyright law, international copyright treaty provisions and other intellectual property laws and treaties. Customer must not allow copies of Software or any part of it to be made or distributed to anyone else. Customer may make backup copies of Software for archival purposes only. 2. Software is licensed for use on a single computer. Customer may delete Software from one computer and reinstall it on another, but Customer may not install Software on more than one computer at any given time without Developer's prior written permission.
3. Software may not be rented, leased, nor in any other manner commercially exploited without Developer's prior written permission.
4. Developer makes no representations or warranties about the suitability of this Software for any purpose. Software is provided 'as is' without express or implied warranties, including warranties of merchantability and fitness for a particular purpose or non-infringement. Developer may not issue updates to this Software.
5. All data sources accessed through Software is the property of the applicable content owner and may be protected by applicable copyright law.This license gives Customer no rights to such content, and Developer disclaims any liability for misuse of data sources.
6. Title, ownership rights, and intellectual property rights in and to Software shall remain with Developer. Customer agrees not to modify Software or attempt to decipher, disassemble, decompile or reverse engineer Software. Reproduction and/or redistribution of any portion of Software is prohibited without Developer's prior written permission.
7. Developer may terminate this license at any time by delivering notice to Customer and Customer may terminate this license at any time by destroying or erasing Customer's copy of Software. Upon termination of this license, Customer agrees to destroy all copies of Software. In case of termination sections 4 through 10 of this agreement shall indefinitely survive its termination. This license is the complete statement of the agreement between Developer and Customer and merges and supersedes all other or prior understandings, purchase orders, agreements and arrangements.
8. Developer or its suppliers shall not be liable for direct, incidental, consequential, special or indirect damages of any sort whatsoever. This includes loss of business profits, revenues, information, or business interruption resulting from Customer's use of Software or inability to use Software, even if Developer has been informed of the possibility of such damages.
9. This Software is not fault-tolerant. It is not designed, manufactured or intended for use in hazardous environments requiring fail-safe performance. Developer and its suppliers specifically disclaim any express or implied warranty of fitness for high-risk activities.
10. Developer reserves the right to discontinue distribution and/or support of its products at any time without notice. Developer reserves the right to change the prices of its products and services at any time without notice. Developer reserves the right to put Customer's company name on User representative list at Rustemsoft web site.
Complete agreement:
This Agreement is the entire agreement between you and Developer relating to its subject matter. This Agreement may not be modified other than in writing executed by Rustemsoft.
Copyright © 2001-2024Rustemsoft. All rights reserved. |
What is the registration? |
XML Converter is "Shareware". This means that we have made the software available to you for the trial. The evaluation is not slideshow presentation. You can create, format, map, view, edit an XML output. It is fully functional but you can use it for limited time only. And then, if you decide to buy the software, you must register your copy with us. Evaluation version (non-registered) of XML Converter is a "full-featured" release. This means that the same capabilities available in the registered software are present in the non-registered software. This allows you to try out all the features in XML Converter to confirm that they work to your satisfaction. Registration entitles you free technical support for 30 days and free minor upgrades to the software. Registration may also entitle you to discounts on new software releases from Rustemsoft. Developer will also send you information bulletins by email to let you know about what’s happening with Rustemsoft products. Finally, by registering the software, you provide us with the resources and incentive to support the software with updates and to develop additional quality products in the future. |
How can I register? |
Point your browser to one of the following Order
Forms to register online: |
Getting started |
1. Run XML Converter 2. Open Source file by using 'Open' dialog box 3. Choose a spreadsheet (or table), which you want to convert from opened Microsoft Access .mdb databases, Microsoft Excel .xls books, MS Word .doc document, Oracle table / view, or text .txt file. 4. To start data transformation just click one of destination file type buttons: DTD, XSD or XML 5. After reviewing or editing your destination file in special window you can save the file by using 'Save' dialog box |
Main XML Converter window |
The XML Converter main window is split into two sections (Source and Target). Each section is split into two vertically-aligned panes. The left pane of Source section displays a hierarchical view of Data Source objects or containers in a tree-like structure. A container is a Data Source object that can hold other Data Source objects, including other containers.
For example, the "CarsExmpl.xls" displayed above is a container that holds the Table folders and the properties folder. Data Source is at the root of the tree.
The right pane of Source section displays the contents of the container that is selected in the left pane.
The right Target section displays the content of Target – DTD, XSD or XML output. It presents XML output in
three interface pages: XML Tree, XML Grid and XML Script. The right pane of Target section gives you ability to browse and edit final XML
content in any of these three windows. The left pane of Target section shows you a Schema of your final XML output. You can change the appearance of panes in the Options dialog.
|
|
In the right Target section after converting you can review and edit destination XML
document. XML Converter Script editor has the same editing features like most of contemporary
text editors have. On the Edit menu bar you can choose any options to edit final XML content.
Converter allows you to instantly validate your edited XML content. |
Oracle Table Data editing |
You can open and browse some Oracle database objects. The types of database objects that XML Converter supports for an Oracle database are: |
|
|
XML Transformation Scenario |
In order to present your data (Excel file, Access database etc.) to the user in
an attractive way in browser, mobile phone or PDF format, the original data
must first be converted to the necessary XML formats. XML documents and data
can be available in almost any structure whatsoever. Everyone can define his or
her own XML document structure and describe it. However, a standard database
table (Excel spreadsheet, Oracle table/view) is a plane, two-dimensional
representation of data content. When you convert your data source table to XML
format you get a plane column-row shaped XML output. |
We would first like to present a simple example showing the XML format, which
XML Converter generates from an Excel source. The example is based on the
document shown in Figure 2. It is an XML document consisting of the elements
Cars and, in it, Car, Details and Detail. Top level of XML source tree is
'Sheet1'. It presents every 'Corporation'. The 'CARS' tag is a direct parent of
elements such as 'Car', 'Details' and 'Detail'. You can see an Excel data
source spreadsheet on figure 1, which is converted to the shown XML output.
Also you can see
this readable XML presentation, which is accompanied with an XSL
stylesheet. |
||
Figure 1. A specially structured Excel data source spreadsheet |
Prefixes and Suffixes
Sometimes users want to include XML output's columns values in specified char combinations. For example, some of fields in user's spreadsheet need to be set in a CDATA tag. XML Converter allows you to specify one attribute as being of type CDATA and have it apply to all instances of that element in the XML. For this case Scenario interface has two fields: "Prefix" and "Suffix". |
|
|
|
|
|
|
|
Scenario Interface
XML Converter gives you ability to adjust and save a transformation template scenario for each converted table(spreadsheet). Once you set this template
scenario for your particular data source next time you will be able to reuse your previous stored setting. How to generate a Scenario for a specially
structured Excel data source by using the Converter? Our example is based on shown above Excel spreadsheet and its final XML output. Please follow the several steps: |
|
Figure 3. XML Transformation Scenario
Interface |
|
1. On the "Options" form select "Use predefined XML
Transformation Scenario" checkbox. |
|
Store Oracle/MS SQL Server/MySQL query results as an XML output |
XML Converter provides a completely graphical user-friendly environment which will help you visually transform Oracle (MS SQL Server, MySQL) tables or/and views to XML format. You will be able browse view result in data grid and convert to XML document. Using XML Converter you can query an Oracle/MS SQL Server/MySQL tables and return results as XML outputs. In XML Converter user interface you can create and replace a view, this view will contain the results of the query. |
By clicking right mouse button on the database tree (left pane) XML Converter allows you to create new view. Then you will need to insert a SQL script for your query. In middle pane "Script" tab you may write something like the following: |
Then you could select "Data" tab button and browse data grid to move through the query result. You can now query created view as if it were a single database table. |
Also you may overwrite the previous view. Go back to "Script" section of middle pane and rewrite your query, change something in query script. For example, you may change your query SQL script: |
Main Features of XML Converter related to Oracle database are: |
XML Converter for MySQL database |
The following XML Converter possibilities are open to you for employing XML processing techniques to make more productive use of your MySQL server: |
|
A key aspect of dealing with XML documents is to be able to easily access their content. XML Converter provides an easy "XML tags Setup" interface for specifying and selecting parts of an XML document. Extensible Markup Language allows a person to invent an array of tags to describe their data. Tags are as important in XML as in HTML. They allow you to describe your data elements and give them life. A person could invent a set of tags to describe a data structure. XML Converter has 4 tag levels of generated XML output. By using the "XML tags Setup" interface you may adjust a representation of each of them. |
"Rid a single table of database tags" check box |
Options menu bar |
On the "Options" menu bar you can adjust your XML transformation by selecting some particular types of the "XML writing methods" and "XML mapping methods".
|
XML writing method |
XML writing method specifies how the XML output file is to be written. |
Writing method | Description |
XML without Schema | Store the Source data as XML data, without an XSD schema. This is the default. |
XML with Schema | Store the Source data as XML data with the relational structure as inline XSD schema. |
XML in DiffGram format | Store the whole Source
data as a DiffGram, including original and current values. The DiffGram is a format intended for network data exchange and .NET remoting. |
XML with DTD | Store the Source data as XML data with the DTD specification. |
XML with TransX Schema | Store the Source data as XML data with the TransX Schema. The Oracle TransX Utility could use your final XML file to populate an Oracle database. |
XML mapping method |
The Mapping method determines how each Source data column is mapped when a XML document is saved. |
Mapping method | Description |
Map out as Element | By using this mapping
method the Source data columns are written as XML elements where the ColName is the name of the element and the contents of the column are written as the text of the element. For example, if Mapping method is set to "Map out as Element", the column value will produce the following XML: <ColName>Column Contents</ColName> This is the default. |
Map out as Attribute | Due to this mapping
method the Source data columns are written as XML attributes of the XML document elements for the current row where the ColName is the name of the attribute and the contents of the Source data column are written as the value of the attribute. For example, using the "Map out as Attribute" method the following XML is produced: <RowElement ColName="Column Contents" /> |
Map out as Row Content | This method allows us
to write contents of the Source data columns as text in the XML elements for the current row. For example: <RowElement>Column Contents</RowElement> You should know that "Map out as Row Content" method cannot be set for Source data columns of a table that has Element columns (more than one column) or nested relations. |
Hidden | The Source data columns will not be written in the XML document. |
Besides creating an XML document the XML Converter
will allow you to generate special XSL document for this final XML file. For
this case you should go to the menu bar "Options" and check the
question "Would you like to accompany your XML document with a template
XSL style-sheet?" |
|
Table (borders) section |
Convert source data to Oracle database |
|
Also XML Converter gives you ability to adjust and save a transformation table-schema for each
converted table. Once you set this schema for a particular data source next time you will be able to reuse
your previous stored setting. How to generate specially for the TransX utility prepared XML file by using the Converter? |
1. On the "Options" form select "XML with TransX schema". |
Micros special conversion modules |
If you have a task to create an extraordinary XML from you data source, using the Micros feature can save countless hours of work. If you have need of a specially structured XML output and you want to perform a conversion task repeatedly in RS XML Converter, you can automate the task with a micro. A micro is any executable (.exe) program which contents a series of commands and functions that are stored on your hard drive and can be run whenever you need to perform the task. |
Making a micro easy to run |
Ordering a micro |
XML Converter Professional Edition is a complete solution for the
developer who wants the browse facilities provided in the Standard Edition PLUS
special modules, which provide command-line interface. Using the Professional
Edition you will be able to call XML Converter strictly from your own
application, with no user interface, allowing you to convert Data Source to XML
in batch mode. |
||
Professional Edition
includes modules such as: |
||
XML
Converter Professional Edition executable module has the following command-line
interface: |
||
XMLConverterCmd
-s[SourceFileName] -n[SourceTableName/or Number] -g[TargetTypeName] -t[TargetFileName] -m[MappingMethod] -w[WritingMethod] -l[NeedXSLtemplate] -h[NeedXLSheader] -r[ShowRegForm] -help -![+|-] |
||
|
Configuration file
default.cfg You can put all of command-line arguments to the special configuration file "default.cfg". This file has a following definition rule: ARGUMENT = VALUE List of all arguments: SourceFileName (-s option in command string) - A Name of Data Source file with full path (Example: SourceFileName=D:\Books\CarsExmpl.xls ) SourceTblName_Num (-n option in command string) - Name or a number of spreadsheet or table, which belongs to your Data Source file (Example1: SourceTblName_Num=Sheet number one ) (Example2: SourceTblName_Num=2 ) TargetTypeName (-g option in command string) - A Name of Data Target Type. Values: dtd, xsd, Xml (Example: TargetTypeName=xml ) TargetFileName (-t option in command string) - A Name of Data Target file with full path (Example: TargetFileName=C:/MyDirectory/MyBook.xml) MappingMethod (-m option in command string) - Values: e - Map out as Element, a - Map out as Attribute, r - Map out as Row Content (Example: MappingMethod=E) WritingMethod (-w option in command string) - WritingMethod. Values: ns - XML without Schema , ws - XML with Schema, dg - XML in DiffGram format, tx - XML with TransX Schema (for Oracle TransX Utility) (Example: WritingMethod=NS) NeedXSLtemplate (-l option in command string) - Values: yes, no (Example: NeedXSLtemplate=yes) NeedXLSheader (-h option in command string) - Values: yes, no (Example: NeedXLSheader=no) The following arguments can be definited at default.cfg file only: FastXls - Fast converting mode for Excel workbooks. Values: yes, no. If you have chosen Yes MS Excel sheets will be transformed much faster. But this way is good if you have homogeneous data for each excel sheet column. If you have deferent data types in one column (numbers, date or text) please use No value. (Example: FastXls=YES) WordWdth - Width of Word document or text file in characters (Example: WordWdth=80) NeedLogo - If you run XML Converter with empty command string and NeedLogo=YES you will see the short information about this program. Values: yes, no. (Example: NeedLogo=NO) NeedProgresBar - If you do not want to see a progres bar please define the argument as NO. Values: yes, no. (Example: NeedProgresBar=NO) EncodeLow - Some XML parsers need low ASCII symbols be encoded in HTML presentation. For example, ' char (apostrophe) in an XML content should have the view: ' Values: yes, no. (Example: EncodeLow=NO) Within the default.cfg file you may begin your comments with ' or " as a first symbol of string. Example: " Width of Word document or text file in characters WordWdth=120 If you define arguments in command-line then their values will have a high priority than the values have been defined in default.cfg. In other words, if you have in default.cfg a string: SourceFileName=D:\Books\Book1.xls And then you insert to command-line: -sD:\Books\Book2.xls For this case XMLConverterCmd.exe will convert Book2.xls file, which you have put to command-line. |
Startup Options
configuration interface |
Besides using the configuration file default.cfg you can use a special
interface for defining and sending your parameters to XMLConverterCmd.exe. It
has the same options and arguments like the Standard Edition interfaces. To
provide you this interface Rustemsoft developed a special Options.exe. You can
run the executable file Options.exe before working with XMLConverterCmd.exe.
|
Copyright
© 2001-2003 Rustemsoft. All rights reserved. |