This section describes how to use the command line tool LXDB21.exe. The usage help can be displayed by typing 'LXDB21 /?' at the DOS command prompt. This is useful if you wish to generate code as part of a build script or automated tool.
LXDB21.exe [/H | /?] | [/S] [/V] [[/Project <ProjectFile>] | [/T <SchemaType> /F <SchemaFileName> /L <Language> /X <OutputDir> /O <OutputLibraryName>] [See below for all optional switches...]]
/H | /? - Shows this help
/S - Silent Output
/V - Verbose Output
Project (we recommended you use a Project file - create the project file using wizard)
/Project <ProjectFile> - Wizard Project Filename
Mandatory (if no Project File):
/T <SchemaType> - Type of schema = XSD|XDR|DTD|WSDL
/F <SchemaFileName> - Schema Filename including path
/L <Language> - Output Language = CPP|C#|JAVA|VBNET|VB6
/X <OutputDir> - Full Path of Output Library
/O <OutputLibraryName> - Output Library Name
Optional:
/DE <Dev Environment> - .Net Development Environment = [VS2015|VS2017|VS2019|VS2022] (Default: VS2022)
/TP <Target Platform> - .Net Target Platform (/DE VS2015) = [DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48] (Default: DotNet452)
/TP <Target Platform> - .Net Target Platform (/DE VS2017) = [DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48|Core20|Core21|Core22|Standard20] (Default: DotNet461)
/TP <Target Platform> - .Net Target Platform (/DE VS2019) = [DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48|Core20|Core21|Core22|Core30|Core31|Standard20|Standard21|Net50] (Default: DotNet472)
/TP <Target Platform> - .Net Target Platform (/DE VS2022) = [DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48|Core20|Core21|Core22|Core30|Core31|Standard20|Standard21|Net50|Net60|Net70|Net80] (Default: DotNet472)
/TP <Target Platform> - Java Target Platform = [JDK8] (Default: JDK8)
/NT - Use Nullable .Net Simple Types (e.g. int?) instead of IsValid properties (for .Net)
/N <Class Namespace> - Base namespace for all the classes (for .Net and Java)
/Col <CollectionMapping> - The way collection Names are Mapped = ORIG|COL|PLUR
/Smp <SampleFiles> - A list of sample files | separated
/DT - Add Dates to generated code
/FI - Generate Fast Infoset Tables
/PE - Generate Property Events to support INotifyPropertyChanged
/TC - Generate Text Property for Primitive Classes
/NEI - Stops Element Refs from using Interfaces
/NP - Stops the project files being output
/D <OutputDir> - Generate Documentation into specified path
/SA <OutputDir> - Generate Sample Application into specified path
/G - Generate Detailed Logging Information
/I - XDR Ignore Simple Elements
/A - XDR Allow Additional Attributes
/WCI <Service Name\Port Name> - Generate Web Client Interface from WSDL (Microsoft .Net Only)
/WFE - Automatically Filter Elements by Port WSDL (Microsoft .Net Only)
/XSP - Generate XMLSchemaProperty Attribute for ComplexTypes (Microsoft .Net Only)
/IOED - Ignore Optional Element Default Values
/E <ErrorFileName> - Error Info is written to this file