Contents Index The UltraLite initialization utility The HotSync conduit installation utility

UltraLite Database User's Guide
  Utility Programs

The ULXML utility


Applies to 

UltraLite components.

Function 

The ulxml utility lets you convert data file formats. For example, you can create a .usm file based on an XML file. It can be used with any UltraLite component.

Syntax 

ulxml [ options ] input-file output-file

Option Description
-y Overwrite output file if it already exists.
-to<type> where type=xml|usm|pdb

Note: pdb files require a CreatorID.

Converts the file to one of these standard formats.

Use toxml to convert an UltraLite schema to XML.

Use tousm to convert an XML file to an UltraLite schema

Use topdb to convert an XML file to an UltraLite schema for Palm.

The return code from ULXML is set to 0 on success and less than 0 on failure.

You can export your UltraLite schema so that you can work in XML format:

The database schema for CustDB is shown in this screen shot in XML format.

You can view and use the documented sample located in Samples\NativeUltraLiteForJava\sample.xml, Samples\UltraLiteActiveX\sample.xml, and Samples\UltraLiteForMobileVB\sample.xml.

Note 
The UltraLite Schema Painter by default creates, opens and saves UltraLite schema files in their native USM file format. However, you are given the option to create, open and save XML files as well by choosing UltraLite XML Schema Files in any file type dropdown box.

Contents Index The UltraLite initialization utility The HotSync conduit installation utility