Altova MapForce 2024 Enterprise Edition

Predefined variables

Home Prev Top Next

After a Schema file is analyzed by the code generator, the objects in the table below exist in the Template Engine.

 

Name

Type

Description

\$schematype

integer

1 for DTD, 2 for XML Schema

\$TheLibrary

Library

The library derived from the XML Schema or DTD

\$module

string

Name of the source Schema without extension

\$outputpath

string

The output path specified by the user, or the default output path

 

For C++ generation only:

 

Name

Type

Description

\$domtype

integer

1 for MSXML, 2 for Xerces

\$libtype

integer

1 for static LIB, 2 for DLL

\$mfc

boolean

True if MFC support is enabled

\$VSVersion

integer

Specifies the Visual Studio version. Valid values:

 

0

No Visual Studio project

2010

Visual Studio 2010

2013

Visual Studio 2013

2015

Visual Studio 2015

2017

Visual Studio 2017

2019

Visual Studio 2019

 

For C# generation only:

 

Name

Type

Description

\$VSVersion

integer

Specifies the Visual Studio version. Valid values:

 

0

No Visual Studio project

2010

Visual Studio 2010

2013

Visual Studio 2013

2015

Visual Studio 2015

2017

Visual Studio 2017

2019

Visual Studio 2019

© 2017-2023 Altova GmbH