TFormer_SetXmlDataFile

Provide Data · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_SetXmlDataFile(HTFORM pInstance, LPCSTR pszFileName);

Windows only: UTF-16

ERRCODE TFormer_SetXmlDataFileW(HTFORM pInstance, LPCWSTR pszFileName);

Contract

Specifies a XML file as JobData.

The element (or attribute) names in the XML file must match the DataField names in the FormLayout.

Returns

ErrOk (0) in case of success, non-zero if an error occurred

Parameters

Parameter / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

pszFileNameLPCSTR / LPCWSTR


XML filename

Search documentation

Search in
More scopes
Additional scopes

All contents