Liquid XML Data Binder 2020
Liquid XML Data Binding Wizard / Command Line / LXDB18
In This Topic
    In This Topic

    This section describes how to use the command line tool LXDB18.exe. The usage help can be displayed by typing 'LXDB18 /?' at the DOS command prompt. This is useful if you wish to generate code as part of a build script or automated tool.

    LXDB18.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 (if no Project File):     /DE <Dev Environment> - Development Environment = [VS2005|VS2008|VS2010|VS2012|VS2013|VS2015|VS2017|VS2019] (Default: VS2019)
        /TP <Target Platform> - .Net Target Platform (VS2005) = [DotNet20] (Default: DotNet20)
        /TP <Target Platform> - .Net Target Platform (VS2008) = [DotNet20|DotNet30|DotNet35] (Default: DotNet35)
        /TP <Target Platform> - .Net Target Platform (VS2010) = [DotNet20|DotNet30|DotNet35|DotNet40 (Default: DotNet40)
        /TP <Target Platform> - .Net Target Platform (VS2012) = [DotNet20|DotNet30|DotNet35|DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472] (Default: DotNet45)
        /TP <Target Platform> - .Net Target Platform (VS2013) = [DotNet20|DotNet30|DotNet35|DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472] (Default: DotNet45)
        /TP <Target Platform> - .Net Target Platform (VS2015) = [DotNet20|DotNet30|DotNet35|DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48] (Default: DotNet452)
        /TP <Target Platform> - .Net Target Platform (VS2017) = [DotNet20|DotNet30|DotNet35|DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48|Core20|Core21|Core22|Standard20] (Default: DotNet461)
        /TP <Target Platform> - .Net Target Platform (VS2019) = [DotNet20|DotNet30|DotNet35|DotNet40|DotNet45|DotNet451|DotNet452|DotNet46|DotNet461|DotNet462|DotNet47|DotNet471|DotNet472|DotNet48|Core20|Core21|Core22|Core30|Core31|Standard20|Standard21] (Default: DotNet472)
        /TP <Target Platform> - Java Target Platform = [JDK5] (Default: JDK5)
        /NG - Reference Liquid Runtime as NuGet package in generated VS2017 and VS2019 projects (Default: Use local reference)
        /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